...
- 수식 편집 플러그인이 추가되었습니다. 이제 수식, 화학식을 삽입하고 편집할 수 있습니다.
- 자세한 내용 보기 :
2.
...
단축키
...
정의시 실행함수 설정
- 커스텀 플러그인을 통해 단축키 설정시 지정된 action외 실행함수를 직접 지정할 수 있습니다.
Code Block | ||||
---|---|---|---|---|
| ||||
window.SynapEditor.addPlugin('customShortcut', function (editor) {
return {
shortcutDef: [{
key: {
windows: 'Alt+Shift+X',
mac: 'Alt+Shift+X'
},
option: {
onExecute: function (editor, e) {
editor.selectionManager.selectAll();
editor.execCommand('textFill', '#ff0000');
editor.selectionManager.documentStart();
editor.selectionRenderer.renderSelection(editor.selectionManager.selection);
}
}
}]
}
}); |
- 자세한 내용 보기 : shortcutDef
3. 자간조절 단축키
- 자간을 조절할 수 있는 단축키가 추가 되었습니다.
- 자간 늘리기: Alt + Shift + W
- 자간 줄이기: Alt + Shift + N
- 자세한 내용 보기: 단축키