The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
10.5k
stars
4.2k
forks
source link
FocalPointPicker: SVG images without a width attribute are not displayed #43869
Open
lichtmetzger opened 2 years ago
Description
If I use a SVG image with the FocalPointPicker component, it will be set to a width of 0 if no width is specified in the SVG itself.
I fixed this by overriding the generated CSS like this:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
No response
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