Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hoe to get instance of ckeditor in angularjs controller? #100

Open
akkivaghasiya5 opened this issue Sep 6, 2016 · 2 comments
Open

Hoe to get instance of ckeditor in angularjs controller? #100

akkivaghasiya5 opened this issue Sep 6, 2016 · 2 comments

Comments

@akkivaghasiya5
Copy link

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
Copy link

chagh commented Sep 22, 2016

Same problem. How ?

@petarsubotic
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants