samclarke / SCEditor

A lightweight HTML and BBCode WYSIWYG editor
http://www.sceditor.com/
Other
657 stars 187 forks source link

Improvement: Unicode Smileys instead of Smiley graphics #620

Open q2apro opened 6 years ago

q2apro commented 6 years ago

I always found it overload to have a bunch of smiley graphics coming with sceditor, see emoticons folder.

Why not use the unicode smileys instead?

Here is an interesting list: https://emojipedia.org/people/ and here https://www.alt-codes.net/smiley_alt_codes.php

Disclaimer: I don't use emoticons in my forums.

abetis commented 6 years ago

Cool... I wasn't aware there is a standard (sort of) for that... Unfortunately not all the smiles are shown on my side. Can you see the "Face With Look Of Triumph"? I only see a square with the numbering representation.

Anyway, having smiles as images allows using animated GIFs, that adds some fun for the text, but I do like the proposed icons as well.

q2apro commented 6 years ago

Latest Chrome o0n Windows 10. Smiley shows up: image

abetis commented 6 years ago

Latest chrome and firefox on Ubuntu Linux don't show them...

samclarke commented 6 years ago

It would be good to have this, maybe as a plugin. I've also noticed they don't seem to show on Linux. Might be possible to make them work with a web font though but not sure, will need to check,

chilauhe commented 5 years ago

I'd suggest that:

  1. Create another command which is disabled by default to maintain backward compatibility instead of replacing icons with Unicode. Simply just replace them with Unicode will break many old database table designs that not support 4-byte UTF-8.
  2. Unicode emoji appearance varies by font, add an option can make them displayed as icons like Smileys or just replace old Smileys may be better solution.

Emojis everywhere now, any progress? For me the integrated Smiley icons are somehow old-school, it's time to bring something new in.

sollemar commented 5 years ago

👍 Please add utf8mb4 emoji support!