Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Emoji Support? #58

Open
carpiediem opened this issue Aug 17, 2023 · 3 comments
Open

No Emoji Support? #58

carpiediem opened this issue Aug 17, 2023 · 3 comments

Comments

@carpiediem
Copy link

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

@DiggesT
Copy link
Collaborator

DiggesT commented Sep 8, 2023

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.

@carpiediem
Copy link
Author

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

@DiggesT
Copy link
Collaborator

DiggesT commented Sep 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants