Here is how the code for that illustrator exported SVG graphics looks like, notice the highlighted places in each of the three code segments given below. You signed in with another tab or window. Although… there is more to this story because as I type these words, the theme this very site is using has the icons defined at the bottom of the document and it works. A simple test case I created can be seen here: Interestingly, it seems to fire if you use $(‘.element’).click(function(){ … }) rather than $(document).on(‘click’, ‘.element’, function(){ … }); Just in case anyone is finding the same problem – it has been picked up as a Chromium bug and should be fixed in a future release. It should come out looking something like It helped me to do it graphically to understand what I was grouping together. It is trivially easy to change an icon font glyph into an SVG file. So it’s either fixed or I’m crazy. as a :safe HTML string. Alternatively, you can copy the viewBox to the
This entry was posted on Friday, November 13th, 2020 at 6:12 AM and is filed under Uncategorized.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.