mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
@ -166,13 +166,13 @@ function getSetupCallback(options) {
|
||||
return function(editor) {
|
||||
editor.on('ExecCommand change input NodeChange ObjectResized', editorChange);
|
||||
listenForCommonEvents(editor);
|
||||
registerShortcuts(editor);
|
||||
listenForDragAndPaste(editor, options);
|
||||
|
||||
editor.on('init', () => {
|
||||
editorChange();
|
||||
scrollToQueryString(editor);
|
||||
window.editor = editor;
|
||||
registerShortcuts(editor);
|
||||
});
|
||||
|
||||
editor.on('PreInit', () => {
|
||||
|
Reference in New Issue
Block a user