summaryrefslogtreecommitdiffstats
path: root/client/components/main/editor.jade
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/main/editor.jade')
-rw-r--r--client/components/main/editor.jade7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/components/main/editor.jade b/client/components/main/editor.jade
index dbd61715..5c5454ee 100644
--- a/client/components/main/editor.jade
+++ b/client/components/main/editor.jade
@@ -1,8 +1,13 @@
template(name="editor")
+ // With Richer editor is in use, and comment is submitted,
+ // clear comment form with JQuery Comment at
+ // client/components/activities/comments.js . Id #summernote is defined
+ // here at client/components/main/editor.jade where it previously was
+ // id=id, now it is id="summernote".
textarea.editor(
dir="auto"
class="{{class}}"
- id=id
+ id="summernote"
autofocus=autofocus
placeholder="{{_ 'comment-placeholder'}}")
+Template.contentBlock