icon-block
icon-block copied to clipboard
Add support SVG text elements
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!