icon-block icon indicating copy to clipboard operation
icon-block copied to clipboard

Add support SVG text elements

Open goodpenguins opened this issue 8 months ago • 0 comments

Hi Nick,

I noticed that block does not support SVG text elements in custom svg. I get zero width and height. This test code works with the Custom HTML block, but not with the Icon block:

<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100">
    <text x="10" y="50" font-size="40" fill="black">WP</text>
</svg>

Cheers!

goodpenguins avatar Jun 18 '24 23:06 goodpenguins