Inline SVG
-
Hi,
Thank you for a great plugin!
Is it possible to insert an inline SVG into a question? I would like to use a custom font for the text in my SVGs, but I believe this font file can be used by an SVG only if the SVG is inline rather than in img tags.
When I put the below basic SVG into the “text” mode of the editor and click save, most of it has disappeared when I look back at the editor.
<svg xmlns=”https://www.w3.org/2000/svg” viewBox=”0 0 277.39 52.32″><defs><style>.a{fill:#fff;stroke:#1d1d1b;stroke-miterlimit:10;}.b{font-size:12px;fill:#1d1d1b;font-family:MyriadPro-Regular, Myriad Pro;}</style></defs><line class=”a” y1=”0.5″ x2=”277.39″ y2=”0.5″/><text class=”b” transform=”translate(125.65 49.32)”>Hello</text></svg>
Is there a way to insert an inline SVG into a question?
Thanks!
- The topic ‘Inline SVG’ is closed to new replies.