]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
072f6b1
)
Fixed custom plugin when developing
author
Dan Brown
<redacted>
Thu, 27 Jul 2017 14:43:17 +0000
(15:43 +0100)
committer
Dan Brown
<redacted>
Thu, 27 Jul 2017 14:43:17 +0000
(15:43 +0100)
resources/assets/js/pages/page-form.js
patch
|
blob
|
history
diff --git
a/resources/assets/js/pages/page-form.js
b/resources/assets/js/pages/page-form.js
index 81d1cdea62763ae07f23e2bbbd4ef4aa4fcb1605..f6f66beb48bcaff06e3081bed80193f40df636ef 100644
(file)
--- a/
resources/assets/js/pages/page-form.js
+++ b/
resources/assets/js/pages/page-form.js
@@
-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.$;