In an external code application, I’m creating a styled table. It’s for a feature list. I would like to use an SVG-coded icon for visual confirmation.
The SVG code I have on my local machine is displayed perfectly. When I paste it into the source-code field in the content, the code is saved, and while saving, the SVG code is cleaned out!
Resulting in a perfect feature list without the icon…
An emoji is just a unicode character.
If you can’t save it, then most likely you have the wrong character set in your database. Make sure you use one of the utf8mb4 charsets.
What @halftrainedharry says is correct about emojis, you’ll need to make sure your database tables and columns are using utf8mb4 character sets.
As you have tagged this as content blocks, could you clarify (perhaps with a screenshot) what type of source code field you have access to when pasting in the SVG? There are different ways that could be setup.
Hi @uxpascal, like Mark mentioned, please provide some screenshots from where and how you try to accomplish this
Another way to accomplish this, is to add the visual confirmation icon to CSS-styles for your particular feature-list, which of course would need a custom class, or at least be technically unique somehow.