froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

originalEvent in angular missing #196

Closed Sakessonholm closed 5 years ago

Sakessonholm commented 5 years ago

While using the blur-event I want to get a reference to the target element that "stole" focus. As event normally does in event.target. However the event.target in angular froala is not the element that was clicked but rather froala element itself. I saw here: https://jsfiddle.net/froala/sx2cx8gf/ That there is a reference to "originalEvent" which seems to be what I am looking for. But this does not seem to exist in angular froala? When i log the blur event to console there is no originalEvent and target is not the actual clicked element.

Sakessonholm commented 5 years ago

Posted in wrong github, my issue is with angular 2+.