richer-editor-setting-helper.js 491 B

1234567891011121314
  1. Meteor.startup(() => {
  2. // Disable comment WYSIWYG editor for everyone to fix
  3. // Pasting text into a card is adding a line before and after
  4. // (and multiplies by pasting more)
  5. // https://github.com/wekan/wekan/issues/2890
  6. Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = 'false';
  7. //// Old original code for setting:
  8. //const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
  9. //if (RCCE) {
  10. // Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false';
  11. //}
  12. });