-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Issue
It's difficult to edit media url that are too long (because the url overlap the edit icon)
Code
It seems to be caused by:
gutenberg/packages/block-editor/src/components/media-replace-flow/style.scss
Lines 37 to 41 in 99efe85
| .block-editor-link-control__search-item-title, | |
| .block-editor-link-control__search-item-info { | |
| max-width: 200px; | |
| white-space: nowrap; | |
| } |
Fix
I propose as a fix to use text overflow ellipsis:
Step-by-step reproduction instructions
- Go in the editor (in any context: page edition, template edition...)
- Add any media block (ex: image, video...)
- Click on the media block
- Click on "Insert a url" inside this block
- Add a long url and save
- Click on the video block and click on "Replace" in the toolbar
- Edit link icon is overlapped by the media url, and it can also cause really long horizontal scroll
Screenshots, screen recording, code snippet
Screenshots
Environment info
WordPress version 6.4.3
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.


