From c8ea6fd2aa9fdef5ecbf07aed222cf8cbd300cf6 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 4 Mar 2024 19:48:57 +0100 Subject: [PATCH] Removed TODO as mentioned in #1473 --- dev/Common/HtmlEditor.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/dev/Common/HtmlEditor.js b/dev/Common/HtmlEditor.js index 0bbfdbdeab..06555b4783 100644 --- a/dev/Common/HtmlEditor.js +++ b/dev/Common/HtmlEditor.js @@ -26,10 +26,8 @@ export class HtmlEditor { if (element) { onReady = onReady ? [onReady] : []; this.onReady = fn => onReady.push(fn); - // TODO: make 'which' user configurable const which = SettingsUserStore.editorWysiwyg(), wysiwyg = WYSIWYGS.find(item => which == item.name) || WYSIWYGS.find(item => 'Squire' == item.name); -// const wysiwyg = WYSIWYGS.find(item => 'Squire' == item.name); wysiwyg.construct(this, element, editor => setTimeout(()=>{ this.editor = editor; editor.on('blur', () => this.blurTrigger());