backdrop-contrib / tinymce

Integration for the TinyMCE editor in Backdrop CMS
https://backdropcms.org/project/tinymce
GNU General Public License v2.0
2 stars 1 forks source link

Notification about resized image not shown on image paste #50

Closed indigoxela closed 9 months ago

indigoxela commented 9 months ago

The info's available in the json response, but never displayed.

Should be possible, though.

This is only relevant when images are dropped into the editor, but get resized to the limit set via Image upload/ Maximum dimensions . Other messages might appear, too (didn't test image reorientation...).

indigoxela commented 9 months ago

I think, it makes sense to put this into the settimeout function, that also sets (corrects) the image dimensions. So a possibly visual resize and the notification happen at the same time. Not sure, if the difference would be noticeable, anyway.