Lauri Ojansivu преди 5 години
родител
ревизия
393482315f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      server/richer-editor-setting-helper.js

+ 2 - 2
server/richer-editor-setting-helper.js

@@ -1,10 +1,10 @@
 Meteor.startup(() => {
 Meteor.startup(() => {
-
   // Disable comment WYSIWYG editor for everyone to fix
   // Disable comment WYSIWYG editor for everyone to fix
   // Pasting text into a card is adding a line before and after
   // Pasting text into a card is adding a line before and after
   // (and multiplies by pasting more)
   // (and multiplies by pasting more)
   // https://github.com/wekan/wekan/issues/2890
   // https://github.com/wekan/wekan/issues/2890
-  Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = 'false';
+  const RCCE = 'false';
+  Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE;
 
 
   //// Old original code for setting:
   //// Old original code for setting:
   //const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;
   //const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR;