mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 05:27:14 -04:00
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. Closes #2890
This commit is contained in:
parent
556621e60e
commit
a064b8d643
1 changed files with 12 additions and 4 deletions
|
@ -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';
|
||||
//}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue