mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
Fixed custom plugin when developing
This commit is contained in:
parent
072f6b103e
commit
5cd08ab2f5
@ -120,7 +120,7 @@ function codePlugin() {
|
|||||||
$codeMirrorContainer.replaceWith($pre);
|
$codeMirrorContainer.replaceWith($pre);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.tinymce.PluginManager.add('codeeditor', (editor, url) => {
|
window.tinymce.PluginManager.add('codeeditor', function(editor, url) {
|
||||||
|
|
||||||
let $ = editor.$;
|
let $ = editor.$;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user