mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 13:01:30 +08:00
Fixed custom plugin when developing
This commit is contained in:
parent
072f6b103e
commit
5cd08ab2f5
|
@ -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.$;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user