wekan/client/components/main/editor.jade

20 lines
599 B
Text
Raw Normal View History

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(
2019-05-08 21:30:38 +03:00
dir="auto"
class="{{class}}"
id="summernote"
autofocus=autofocus
placeholder="{{_ 'comment-placeholder'}}")
+Template.contentBlock
template(name="viewer")
2019-05-08 21:30:38 +03:00
.viewer(dir="auto")
+mentions
+markdown
{{> UI.contentBlock }}