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