|
@@ -1,7 +1,5 @@
|
|
|
Template.editor.onRendered(() => {
|
|
|
const textareaSelector = 'textarea';
|
|
|
- const enableRicherEditor =
|
|
|
- Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR || true;
|
|
|
const mentions = [
|
|
|
// User mentions
|
|
|
{
|
|
@@ -32,7 +30,7 @@ Template.editor.onRendered(() => {
|
|
|
autosize($textarea);
|
|
|
$textarea.escapeableTextComplete(mentions);
|
|
|
};
|
|
|
- if (enableRicherEditor) {
|
|
|
+ if (Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR !== false) {
|
|
|
const isSmall = Utils.isMiniScreen();
|
|
|
const toolbar = isSmall
|
|
|
? [
|