mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 04:08:49 +01:00
(and multiplies by pasting more) by changing paste "p" to "br". 2) Fixes to summernote and markdown comment editors, related to keeping them open when adding comments, having @member mention not close card, and disabling clicking of @member mention. Thanks to xet7 ! Closes #2890
19 lines
599 B
Text
19 lines
599 B
Text
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="summernote"
|
|
autofocus=autofocus
|
|
placeholder="{{_ 'comment-placeholder'}}")
|
|
+Template.contentBlock
|
|
|
|
template(name="viewer")
|
|
.viewer(dir="auto")
|
|
+mentions
|
|
+markdown
|
|
{{> UI.contentBlock }}
|