My code is like this:
var myButton= this.getElementById("myButton");
var myEditor = this.editor.getEditor
(this.editor.contentWindow).rootElement;
myEditor.textContent = myButton.label;
But now,the texts in the editor cannot be deleted any more except that
I input some letters in the editor.
I am confused with it~ Do you have some ideas about it?
How should I make the backspace available at that time~
Thank you~
>myEditor.textContent = myButton.label;
>
>
You should always use editor methods to insert and delete text because
those are the ones that the editor knows how to undo.
--
Warning: May contain traces of nuts.