mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 15:11:48 +01:00
When RICHER_CARD_COMMENT_EDITOR=true, use richer editor
also when editing card description. Thanks to xet7 !
This commit is contained in:
parent
ec33cdcb29
commit
4e2d337620
6 changed files with 105 additions and 6 deletions
|
|
@ -3,7 +3,6 @@ template(name="editor")
|
|||
dir="auto"
|
||||
class="{{class}}"
|
||||
id=id
|
||||
autofocus=autofocus
|
||||
placeholder="{{_ 'comment-placeholder'}}")
|
||||
+Template.contentBlock
|
||||
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ Template.editor.onRendered(() => {
|
|||
};
|
||||
const editor = '.editor';
|
||||
const selectors = [
|
||||
`.js-new-description-form ${editor}`,
|
||||
`.js-new-comment-form ${editor}`,
|
||||
`.js-edit-comment ${editor}`,
|
||||
].join(','); // only new comment and edit comment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue