OSDN Git Service
(root)
/
newslash
/
newslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
js: fix to work embed journal editor
[newslash/newslash.git]
/
src
/
newslash_web
/
templates
/
components
/
content_editor.html.tt2
diff --git
a/src/newslash_web/templates/components/content_editor.html.tt2
b/src/newslash_web/templates/components/content_editor.html.tt2
index
9022a34
..
1c81a04
100644
(file)
--- a/
src/newslash_web/templates/components/content_editor.html.tt2
+++ b/
src/newslash_web/templates/components/content_editor.html.tt2
@@
-3,5
+3,6
@@
</script>
<script src="/js/content-editor.js" ></script>
<script>
- contentEditor.run();
+ const editorConfig = [% Editor.json %];
+ contentEditor.run({config: editorConfig});
</script>