Emojis in HTML Snippet

Emojis in HTML Snippet

I am not able to add emojis in the HTML Snippet. Everytime I add one, all the code disappears. Is there a special way to add them?