This is a migrated thread and some comments may be shown as answers.

[Solved] Insert text in Editor

0 Answers 25 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 10 Sep 2012, 12:32 PM
Hello everybody,

As I said in the title, I want to insert some text in my Editor when I click on an external label.
I saw others topics but I still have issues.

My JS Code :
        editor.focus();
        editor.selectRange(range);
        editor.exec('insertHtml', { value: textToInsert });
        editor.update();

It works as expected on FF and Chrome but not at all on IE.
Tags
Editor
Asked by
Thomas
Top achievements
Rank 1
Share this question
or