mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
v2.20.3
This commit is contained in:
parent
857ab52a5e
commit
4ec7070ffa
10 changed files with 26 additions and 19 deletions
|
|
@ -634,9 +634,9 @@ export class HtmlEditor {
|
|||
onReady = onReady ? [onReady] : [];
|
||||
this.onReady = fn => onReady.push(fn);
|
||||
// TODO: make 'which' user configurable
|
||||
const which = 'CKEditor4',
|
||||
wysiwyg = WYSIWYGS.find(item => which == item[0])
|
||||
|| WYSIWYGS.find(item => 'Squire' == item[0]);
|
||||
// const which = 'CKEditor4',
|
||||
// wysiwyg = WYSIWYGS.find(item => which == item[0]) || WYSIWYGS.find(item => 'Squire' == item[0]);
|
||||
const wysiwyg = WYSIWYGS.find(item => 'Squire' == item[0]);
|
||||
wysiwyg[1](this, element, editor => {
|
||||
this.editor = editor;
|
||||
editor.on('blur', () => this.blurTrigger());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue