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.
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.