[wp-trac] [WordPress Trac] #55884: Image aligned center disappears in the editor
WordPress Trac
noreply at wordpress.org
Sat Jun 14 21:34:52 UTC 2025
#55884: Image aligned center disappears in the editor
--------------------------+--------------------------------
Reporter: stinkykong | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version:
Severity: normal | Resolution: reported-upstream
Keywords: | Focuses:
--------------------------+--------------------------------
Changes (by sabernhardt):
* keywords: reporter-feedback =>
* status: new => closed
* resolution: => reported-upstream
* milestone: Awaiting Review =>
Comment:
The image on your site is in SVG format without `width` and `height`
attributes, and using the alignment options (left, center or right) could
make that very small in the editor (now a minimum of 20 by 20 pixels
instead of 0 by 0).
[https://github.com/WordPress/gutenberg/issues/57717 GB57717] focuses on
the Site Logo block, but I think it is the same basic issue with the
resizable container and SVG.
I'll close the ticket as 'reported-upstream' now. If I'm wrong about that
being the same or similar enough, this might need its own issue on the
Gutenberg repository.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55884#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list