Skip to content

Commit

Permalink
Removed TODO as mentioned in #1473
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Mar 4, 2024
1 parent 382ccdb commit c8ea6fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dev/Common/HtmlEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit c8ea6fd

Please sign in to comment.