Try to fix HtmlEditor isHtml() issue with SquireUI

Real fix should be made with the wrong use of modeToggle()
This commit is contained in:
djmaze 2020-09-17 16:10:27 +02:00
parent 9c18126843
commit 5d281486d0
3 changed files with 2 additions and 5 deletions

View file

@ -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;
}
/**