diff options
-rw-r--r-- | server/richer-editor-setting-helper.js | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/server/richer-editor-setting-helper.js b/server/richer-editor-setting-helper.js index 967d034e..4a3d56ab 100644 --- a/server/richer-editor-setting-helper.js +++ b/server/richer-editor-setting-helper.js @@ -1,6 +1,14 @@ Meteor.startup(() => { - const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR; - if (RCCE) { - Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false'; - } + + // Disable comment WYSIWYG editor for everyone to fix + // Pasting text into a card is adding a line before and after + // (and multiplies by pasting more) + // https://github.com/wekan/wekan/issues/2890 + Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = 'false'; + + //// Old original code for setting: + //const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR; + //if (RCCE) { + // Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false'; + //} }); |