mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
Revert: 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. Thanks to xet7. TODO later: Fix wysiwyg editor paste bug. Opens #2890
This commit is contained in:
parent
e8f89a8c4c
commit
81635d9217
2 changed files with 5 additions and 16 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue