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

Do not insert an empty img tag via image dialog #119

Closed indigoxela closed 1 week ago

indigoxela commented 1 week ago

Not new, but so far I never realized, that.

Steps to reproduce:

This results in the image tag to end up like <img alt="" width="" height="" data-align="none"> - without src attribute. That's a bit odd. Actually, I'd rather expect that the img tag gets removed then.

indigoxela commented 1 week ago

If one just hits the "Insert" button in the dialog without selecting any image, there's currently also an empty img tag. Also with figure/caption or link around it.