mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-02 15:35:18 +08:00
Fixed custom plugin when developing
This commit is contained in:
@ -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.$;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user