Edit Image in TinyMCE editor revamp
|Reported by:||eablokker||Owned by:|
First time poster here...
I propose a revamp of the "Edit Image" thickbox window in the TinyMCE editor. I believe #21390 may have intended to fix this, but didn't get around to it.
I believe the edit image dialog should be in the same UI style as the new Insert/Upload Media dialog. We should be able to re-select the image size (thumbnail, medium, large, full, and custom sizes), refresh the alt text from what's stored in the media attachment metadata, replace with a different image from the library, and be able to un-attach the media as an attachment to the post, and more.
There is a limitation that prevents this functionality from being possible: once the image is inserted into the post as an HTML <img> tag, the association of that media back to a media attachment in Wordpress is broken. There is no data linking the img tag back to the ID number of that image in the media library, except for the CSS class which has the ID number, such as: "wp-image-42". The CSS class is unreliable because users can inadvertently delete and change CSS class names through the UI.
Those are my thoughts and I welcome other ideas and solutions to this issue.