editor.jade 599 B

12345678910111213141516171819
  1. template(name="editor")
  2. // With Richer editor is in use, and comment is submitted,
  3. // clear comment form with JQuery Comment at
  4. // client/components/activities/comments.js . Id #summernote is defined
  5. // here at client/components/main/editor.jade where it previously was
  6. // id=id, now it is id="summernote".
  7. textarea.editor(
  8. dir="auto"
  9. class="{{class}}"
  10. id="summernote"
  11. autofocus=autofocus
  12. placeholder="{{_ 'comment-placeholder'}}")
  13. +Template.contentBlock
  14. template(name="viewer")
  15. .viewer(dir="auto")
  16. +mentions
  17. +markdown
  18. {{> UI.contentBlock }}