use innerText instead of innerHtml to read the contents of the editor parent.
This commit is contained in:
parent
b5a665c33e
commit
46cbba5203
4 changed files with 9 additions and 8 deletions
|
|
@ -643,7 +643,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
};
|
||||
|
||||
this.setCompositionText = function(text) {
|
||||
this.$composition.innerText = this.$composition.textContent = text;
|
||||
dom.setInnerText(this.$composition, text);
|
||||
};
|
||||
|
||||
this.hideComposition = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue