diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-03-24 20:39:49 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-03-24 20:39:49 +0200 |
commit | b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325 (patch) | |
tree | fe1c68e82f3c773927e471aca748390b98e1ca11 /client/components/main/editor.jade | |
parent | 87a81789d109adcefc754c7cb33bcee395412a84 (diff) | |
download | wekan-b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325.tar.gz wekan-b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325.tar.bz2 wekan-b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325.zip |
1) Fix Pasting text into a card is adding a line before and after
(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
Diffstat (limited to 'client/components/main/editor.jade')
-rw-r--r-- | client/components/main/editor.jade | 7 |
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 |