Skip to content

Emoji Slash - lack of identification and bug #975

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

Closed
sathish851 opened this issue Jul 30, 2024 · 2 comments · Fixed by #984
Closed

Emoji Slash - lack of identification and bug #975

sathish851 opened this issue Jul 30, 2024 · 2 comments · Fixed by #984
Assignees
Labels
bug Something isn't working prio:high High priority

Comments

@sathish851
Copy link

Describe the bug

After selecting the Emoji option from the /. it still showing that use / command.
: operation perfectly for emoji, better if the : is added as default when the Emoji option is selected.

image

@sathish851 sathish851 added the bug Something isn't working label Jul 30, 2024
jkcs added a commit to jkcs/BlockNote that referenced this issue Aug 2, 2024
@matthewlipski matthewlipski added the prio:high High priority label Aug 7, 2024
@AlexBSoft
Copy link

How i can remove the emoji picker from menu? It is does not works with : or / or from menu (does nothing when i click on it)

@matthewlipski
Copy link
Collaborator

Yeah agreed the UX for this is not great atm, the emoji picker only appears once you start typing after selecting the slash menu item. You can remove it like this:

<BlockNoteView editor={editor} slashMenu={false}>
  <SuggestionMenuController
    triggerCharacter={"/"}
    getItems={async (query) =>
      filterSuggestionItems(getDefaultReactSlashMenuItems(editor).filter((item) => item.title !== "Emoji"), query)
    }
  />
</BlockNoteView>

jkcs added a commit to jkcs/BlockNote that referenced this issue Sep 5, 2024
# Conflicts:
#	packages/core/src/editor/BlockNoteEditor.ts
#	packages/core/src/extensions/SuggestionMenu/getDefaultSlashMenuItems.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio:high High priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants