XF 2.0 Import SVG emoji

You can define the SVG files to use in your ACP. Just be sure to turn on the "Enable CSS sprite mode with the following parameters: " checkbox and specify a size. I'm using the Google Noto emoji set at 22px using the SVGs with no problems. Attached is an example screenshot showing the basic :) definition.

To find out the file names you need I suggest heading over to Emojipedia.com to find the unicode values for the smilies that you're replacing. For example, I'm using the 'Slightly Smiling Face' https://emojipedia.org/slightly-smiling-face/ for :) and the unicode value, shown at the bottom of the screen of Emojipedia, is U+1F642. For the Google Noto set the file name would be "emoji_u1f642.svg" while for the Twemoji set you're using it'd be "1f642.svg". Using the screenshot I attached as reference, just change the "Image replacement URL" to the location of where you put "1f642.svg" on your server, make sure the rest of the setting match, and you'll be good to go.

1540330024046.webp
 
Back
Top Bottom