Hoe to get instance of ckeditor in angularjs controller?
Opened this issue · 2 comments
akkivaghasiya5 commented
I want to get instance of ng-ckeditor. So I can set event, parameters etc on it.. But I can't get that how can I get that instance.
chagh commented
Same problem. How ?
petarsubotic commented
console.log(CKEDITOR.instances);
Will return the list of the instances, if you haven't set their ids, you will usually get editor1, editor2 ...
You are able to access them as
CKEDITOR.instances.editor1.insertText('some text)