Fixed custom plugin when developing

This commit is contained in:
Dan Brown
2017-07-27 15:43:17 +01:00
parent 072f6b103e
commit 5cd08ab2f5

View File

@ -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.$;