mirror of
https://github.com/wekan/wekan.git
synced 2026-01-22 01:06:09 +01:00
(and multiplies by pasting more) by disabling WYSIWYG comment editor for everyone. Closes #2890
14 lines
491 B
JavaScript
14 lines
491 B
JavaScript
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
|
|
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';
|
|
//}
|
|
});
|