editor.jade 440 B

12345678910111213141516171819
  1. template(name="editor")
  2. a(title="{{_ 'convert-to-markdown'}}")
  3. | 📝
  4. a(title="{{_ 'copy-text-to-clipboard'}}")
  5. | 📋
  6. span.copied-tooltip {{_ 'copied'}}
  7. textarea.editor(
  8. dir="auto"
  9. class="{{class}}"
  10. id=id
  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 }}