Description
I discovered an bug that when you set an SVG image (that was optimased) as an image for the Site Logo block, and then start changing the width of the image in the admin, it stops displaying it.
For exapmle image.
*this element don't have width height after optimisation
Step-by-step reproduction instructions
- Install any plugin that allows you to display SVG elements for your WP site.
- Choose any SVG image and optimize it to remove unnecessary garbage. Example using SVGO
- Try to add this svg image to your Site Logo component.
- Try to change Image width in this Settings of Compont
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
I discovered an bug that when you set an SVG image (that was optimased) as an image for the Site Logo block, and then start changing the width of the image in the admin, it stops displaying it.
For exapmle image.
*this element don't have
widthheightafter optimisationStep-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.