mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-28 10:32:28 +08:00
Removed TODO as mentioned in #1473
This commit is contained in:
parent
382ccdb499
commit
c8ea6fd2aa
1 changed files with 0 additions and 2 deletions
|
@ -26,10 +26,8 @@ export class HtmlEditor {
|
||||||
if (element) {
|
if (element) {
|
||||||
onReady = onReady ? [onReady] : [];
|
onReady = onReady ? [onReady] : [];
|
||||||
this.onReady = fn => onReady.push(fn);
|
this.onReady = fn => onReady.push(fn);
|
||||||
// TODO: make 'which' user configurable
|
|
||||||
const which = SettingsUserStore.editorWysiwyg(),
|
const which = SettingsUserStore.editorWysiwyg(),
|
||||||
wysiwyg = WYSIWYGS.find(item => which == item.name) || WYSIWYGS.find(item => 'Squire' == item.name);
|
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(()=>{
|
wysiwyg.construct(this, element, editor => setTimeout(()=>{
|
||||||
this.editor = editor;
|
this.editor = editor;
|
||||||
editor.on('blur', () => this.blurTrigger());
|
editor.on('blur', () => this.blurTrigger());
|
||||||
|
|
Loading…
Reference in a new issue