Fixed custom plugin when developing

This commit is contained in:
Dan Brown 2017-07-27 15:43:17 +01:00
parent 072f6b103e
commit 5cd08ab2f5
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

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