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

Cannot get source of removed image #229

Open idenev opened 4 years ago

idenev commented 4 years ago

I am following documentation of handling deleted image

https://froala.com/wysiwyg-editor/docs/concepts/image/delete/

My goal is to find out exactly which image is removed. Example in the documentation extracts 'src' attribute from the jquery selector that is passed. What is provided to the event function in angular is an object that I am not sure how to handle. I am not sure what is the indication there of the exact image removed and how to extract it.