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

on destroy issue (ready fix proposal) #107

Open
DrFairy opened this issue Apr 14, 2017 · 2 comments
Open

on destroy issue (ready fix proposal) #107

DrFairy opened this issue Apr 14, 2017 · 2 comments

Comments

@DrFairy
Copy link

DrFairy commented Apr 14, 2017

https://github.com/esvit/ng-ckeditor/blob/master/ng-ckeditor.js#L87 seems to need an addition to fix an error "CKEditor Uncaught TypeError: Cannot call method 'unselectable' of null" (multiple instances, multiple creations/destructions to reproduce).
Found while googling this error - http://stackoverflow.com/questions/19328548/ckeditor-uncaught-typeerror-cannot-call-method-unselectable-of-null-in-emberj
Needed addition (before "CKEDITOR.instances[instance.name].destroy();"):
CKEDITOR.instances[instance.name].removeAllListeners();

@amitparrikar
Copy link

Hi, Any luck with this issue?
I am kind of stuck with similar issue.
I am using ui-router. Two of my routes have html with ng-ckeditor on it.
When I go from page-1 to page-2;
Page-2 creditor seems to throw n error
"Type Error: cannot find the property $$phase of undefined"
It's basically an Angular error which cropped through ckeditor.

Seems like the repo admin not bothered of answering queries

@pkorzh
Copy link

pkorzh commented May 17, 2017

"Type Error: cannot find the property $$phase of undefined"

im facing the same issue

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