Inline SVG Image in Gutenberg
-
Since Gutenberg, the image block wraps the image in a figure tag and the class you add to the block gets applied to the figure tag and not on the IMG tag. Therefore your inline SVG doesn’t seem to work.
Would it be possible to change the way it scrubs for the style class, to be either on the img tag directly OR the surrounding figure tag.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Inline SVG Image in Gutenberg’ is closed to new replies.