-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider feature parity for "Image Details" TinyMCE functionality #7504
Comments
@getsource would you mind some context as to what was tried to be removed and the general outcome there? I see you say some, it could be good to know which. |
@karmatosed Per my recollection (this was a while ago), it was everything that is under the advanced options section in the modal, and informed primarily by WP.com user testing (actual rollout and rollback) and statistics. |
Related: #5309 |
Removed the |
Sorry, I'm seeing this comment a bit late. Yes, the sidebar seems like a perfect place to surface it. |
Related to this... You can't use Which means if you need to add in a required field to an image, it won't show up in the Gutenblock sidebar. |
Once an image is inserted into the To summarize, we need the fields defined in the issue description, but they'll simply modify the |
Per request by @antpb, double-checked to confirm, and all of the features mentioned in the issue description are still not present in Gutenberg. Edit: Wondering if it makes sense to split these into separate issues for discussion and decisions on whether they belong/will be added for 5.0? |
I'd like to identify the different parts to split out here. @getsource thanks so much for doing the discovery work here. I believe you mentioned recently that you have notes on the way we can split this out. If you could share here, I'd love to go that route. 7771 is really close to being merged but does not solve everything in this one. I think we should be tracking that bit separately. |
#7771 is most of this ticket.
Unless I'm missing something, I believe this means the only thing not handled there is |
After chatting in Slack today one potential solution now would be to avoid having everything in sidebar (it's getting busy there now) and have if required fields it open the media library. This isn't a perfect flow. What else could we do? |
Thinking about this a bit more, I think having the fields in the media library might be problematic because we don't want them to appear to apply to all instances of the inserted image. "Edit Image" before was that place for instance/post specific data to an image. Edit: referring to |
* Add link classes and rel attribute to image block (see #7504) * Make labels consistent with classic editor. * Fix coding standards error * Add tests * Consolidate check for presence of image link * Rebase, incorporate upstream changes * Changes as per review * Fix tests * Resolve final review comment * Update CONTRIBUTORS.md
#7771 was merged which adds link rel and link class to image block inspector. |
It seems like all issues were addressed in such case. |
Right now, there are a few things remaining for parity with the current "Edit Image" functionality present in core.
This modal (screenshots below) is accessible within TinyMCE when mousing over an inserted image, then clicking the edit button.
The features from this modal that seem to not have equivalents in Gutenberg at the moment are:
Edit Image Titlesee Consider feature parity for "Image Details" TinyMCE functionality #7504 (comment).Note: Title edit is available in Gutenberg, but changes title globally in library, rather than per inserted image, and does not appear to insert this title into the title attribute, like the current feature.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: