Summary
The new image text-wrap toolbar buttons shipped in 26.04.11-01 (#35211) have two bugs confirmed via customer report (FD #36727):
- Icon glyphs are inverted relative to the action they trigger
- i18n keys for wrap-left / wrap-right are missing from Language.properties
Bug 1 — Icon / action mismatch
File: dot-bubble-menu.component.html:39-56
| Button |
Action called |
CSS result |
Icon shown |
Expected icon |
| wrap-left |
setImageTextWrap('left') |
float: left → image on left, text on right |
pi-align-left + pi-image (visually: text-left, image-right) |
Should show image-left, text-right |
| wrap-right |
setImageTextWrap('right') |
float: right → image on right, text on left |
same mismatch in reverse |
Should show image-right, text-left |
The icon glyphs communicate the opposite layout from what the action produces.
Bug 2 — Missing i18n keys
Tooltips are rendering the raw key string (e.g. block-editor.bubble-menu.image.wrap-right) instead of translated text.
The .properties file defines a key for the feature but is missing:
block-editor.bubble-menu.image.wrap-left
block-editor.bubble-menu.image.wrap-right
Steps to Reproduce
- Open the Block Editor and insert an image.
- Select the image to open the bubble menu.
- Hover over the wrap-left or wrap-right buttons — tooltip shows raw i18n key.
- Click wrap-left — image floats left (correct), but the icon suggested image-on-right.
Expected Behavior
- Wrap-left icon should visually show image on the left, text on the right.
- Wrap-right icon should visually show image on the right, text on the left.
- Tooltips should show human-readable translated labels.
References
Summary
The new image text-wrap toolbar buttons shipped in 26.04.11-01 (#35211) have two bugs confirmed via customer report (FD #36727):
Bug 1 — Icon / action mismatch
File:
dot-bubble-menu.component.html:39-56setImageTextWrap('left')float: left→ image on left, text on rightpi-align-left+pi-image(visually: text-left, image-right)setImageTextWrap('right')float: right→ image on right, text on leftThe icon glyphs communicate the opposite layout from what the action produces.
Bug 2 — Missing i18n keys
Tooltips are rendering the raw key string (e.g.
block-editor.bubble-menu.image.wrap-right) instead of translated text.The
.propertiesfile defines a key for the feature but is missing:block-editor.bubble-menu.image.wrap-leftblock-editor.bubble-menu.image.wrap-rightSteps to Reproduce
Expected Behavior
References
dot-bubble-menu.component.html