2019-08-10 00:50:55 -04:00
|
|
|
Meteor.startup(() => {
|
2020-03-20 13:52:27 +02:00
|
|
|
// 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
|
2020-03-20 14:02:29 +02:00
|
|
|
const RCCE = 'false';
|
|
|
|
Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE;
|
2020-03-20 13:52:27 +02:00
|
|
|
|
|
|
|
//// Old original code for setting:
|
|
|
|
//const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
|
|
|
|
//if (RCCE) {
|
|
|
|
// Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false';
|
|
|
|
//}
|
2019-08-10 00:50:55 -04:00
|
|
|
});
|