mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Try to fix HtmlEditor isHtml() issue with SquireUI
Real fix should be made with the wrong use of modeToggle()
This commit is contained in:
parent
9c18126843
commit
5d281486d0
3 changed files with 2 additions and 5 deletions
|
|
@ -125,7 +125,7 @@ class HtmlEditor {
|
|||
* @returns {boolean}
|
||||
*/
|
||||
isHtml() {
|
||||
return this.editor ? 'wysiwyg' === this.editor.mode : false;
|
||||
return this.editor ? 'plain' !== this.editor.mode : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue