Invalid DOM property `class`. Did you mean `className`?
-
Hey
Just trying out this plugin for a project with a ton of icons. I’ve installed it on a fresh WordPress 6.0.2, on inserting the block in to the page I get an immediate console error:Warning: Invalid DOM property
class
. Did you meanclassName
?
svg
SVG@https://xxx/wp-includes/js/dist/primitives.js?ver=cadf5cfaabdb15c8c8fc440547afe919:253:11
To@https://xxx/wp-content/plugins/icon-block/build/index.js?ver=4e94e149ff1e32dee417:1:196287
fieldset
div
Placeholder@https://xxx/wp-includes/js/dist/components.js?ver=76c5a4c54d97b02824ed3d3b164c2811:69648:11
Io@https://xxx/wp-content/plugins/icon-block/build/index.js?ver=4e94e149ff1e32dee417:2:5111
div`
etc etcAlso, not sure if related to the above, but I can’t seem to bulk select the block (i.e. select the icon and another block, or drag hold cursor over page and select multiple blocks at once). For my use case, I would like to select the icon and a heading, then make it a group (rather than make a group, drag in the icon, drag in the heading). Unless there is another way you would suggest to orientate an icon next to a heading.
Thank you
- The topic ‘Invalid DOM property `class`. Did you mean `className`?’ is closed to new replies.