improved HtmlEditor html source handling

This commit is contained in:
the-djmaze 2022-09-27 11:21:47 +02:00
parent 88f7b3d345
commit c64ec1b2d8
2 changed files with 5 additions and 7 deletions

View file

@ -476,7 +476,7 @@ class SquireUI
}
getData() {
return trimLines(this.squire.getHTML());
return 'source' == this.mode ? this.plain.value : trimLines(this.squire.getHTML());
}
setData(html) {