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

feat: emoji suggestions #871

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

nikkothari22
Copy link
Member

Added support for emoji suggestions via the : key. This is available on both web and mobile.

image

By default, on typing ":", we show frequently used emojis. The emojis are fetched from the same database (emoji-picker-element), so anytime a new emoji is selected (either from suggestions, or from the emoji picker (button/reactions)), we increment the count of it's usage. This data is maintained in IndexedDB by emoji-picker-element - hence not shared across browsers.

Also fixed a bug (regression of #869) where the code and code block plugins were initialised multiple times.

This PR also fixes a FIXME added earlier related to the keyboard handler extension conflicting with the mention extensions. Simply reordering the extensions in the editor initialisation fixed the issue.

@nikkothari22 nikkothari22 linked an issue Apr 12, 2024 that may be closed by this pull request
@nikkothari22 nikkothari22 merged commit d276724 into develop Apr 12, 2024
2 of 3 checks passed
@nikkothari22 nikkothari22 deleted the 774-telegramdiscord-like-emoji-picker branch April 12, 2024 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Telegram/Discord like emoji picker
1 participant