verbum icon indicating copy to clipboard operation
verbum copied to clipboard

No Emoji Support?

Open carpiediem opened this issue 1 year ago • 3 comments

Describe the bug emojisEnabled does not seem to have any effect.

To Reproduce Steps to reproduce the behavior:

  1. Add emojisEnabled to the Editor component

Expected behavior An emoji button in the toolbar? Auto-completing emoji names prefixed with :? I'm not sure.

Screenshots https://codesandbox.io/s/verbum-editor-forked-znf6rw?file=/src/App.tsx:298-311

carpiediem avatar Aug 17 '23 21:08 carpiediem

Hello @carpiediem, it's working, even in your example. Just try to type :). The list of emojis you can check here.

Let me know if you don't have any questions, I'll close the issue.

DiggesT avatar Sep 08 '23 10:09 DiggesT

Okay, that works for a handful of faces, but there are 100+ emoji in unicode. How do I add the rest?

carpiediem avatar Sep 08 '23 13:09 carpiediem

I'm searching an example at Lexical playground, there is EmojiPickerPlugin. So I decide to add this plugin. You can check it in #59.

Unfortunately user can't expand emoji list by it self, there is a list of emojis saved in emoji-list.ts file.

If you have any ideas how to do it correctly or functionality, let me know. Maybe you know some examples with same case.

In other way, if this solution suits you I will merge #59 and close this issue.

DiggesT avatar Sep 12 '23 08:09 DiggesT