mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-01 05:51:52 +08:00
Fixed custom plugin when developing
This commit is contained in:
@ -120,7 +120,7 @@ function codePlugin() {
|
||||
$codeMirrorContainer.replaceWith($pre);
|
||||
}
|
||||
|
||||
window.tinymce.PluginManager.add('codeeditor', (editor, url) => {
|
||||
window.tinymce.PluginManager.add('codeeditor', function(editor, url) {
|
||||
|
||||
let $ = editor.$;
|
||||
|
||||
|
Reference in New Issue
Block a user