summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md5
-rw-r--r--server/richer-editor-setting-helper.js16
2 files changed, 5 insertions, 16 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 81769b91..79b141eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,10 +2,7 @@
This release fixes the following bugs:
-- [Fix Pasting text into a card is adding a line before and after
- (and multiplies by pasting more) by disabling WYSIWYG comment editor
- for everyone](https://github.com/wekan/wekan/issues/2890).
- Thanks to xet7.
+-
Thanks to above GitHub users for their contributions and translators for their translations.
diff --git a/server/richer-editor-setting-helper.js b/server/richer-editor-setting-helper.js
index 2f06a547..967d034e 100644
--- a/server/richer-editor-setting-helper.js
+++ b/server/richer-editor-setting-helper.js
@@ -1,14 +1,6 @@
Meteor.startup(() => {
- // 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
- const RCCE = 'false';
- Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE;
-
- //// Old original code for setting:
- //const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
- //if (RCCE) {
- // Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false';
- //}
+ const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
+ if (RCCE) {
+ Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false';
+ }
});