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

Initialized event loses context #226

Open
Chreekar opened this issue Jan 7, 2020 · 1 comment
Open

Initialized event loses context #226

Chreekar opened this issue Jan 7, 2020 · 1 comment

Comments

@Chreekar
Copy link

Chreekar commented Jan 7, 2020

After updating froala-editor and angular-froala to 3.0.6 from 2.9.3 the events no longer pass the editor instance as a parameter to the callback, instead it is bound to this. This is no problem except for the "initialized" event where this is bound to window instead of the editor instance. The effect is that you cannot access the editor instance from the initialized callback.

@Chreekar
Copy link
Author

Chreekar commented Jan 7, 2020

I solved it by modifying the directive according to my comment in #214

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

1 participant