Icon component causes invalid or unexpected content error #16844
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Package] Components
/packages/components
[Status] Needs More Info
Follow-up required in order to be actionable.
[Type] Bug
An existing feature does not function as intended
Describe the bug
Using the Icon component in a Gutenberg block results in invalid content error on editor refresh. The "Resolve" action shows that it wants to change the SVG "viewbox" attribute to "viewBox"
To reproduce
Steps to reproduce the behavior:
wp.components.Icon
component.Expected behavior
Using
wp.components.Icon
should not trigger an invalid content error.Screenshots
Desktop:
Additional context
The text was updated successfully, but these errors were encountered: