Skip to content

Commit

Permalink
🩹 fix emoji suggestion regression
Browse files Browse the repository at this point in the history
Ref.: ueberdosis/tiptap#3239

Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
  • Loading branch information
Vinicius Reis committed Oct 13, 2022
1 parent 8768e97 commit 5ece8d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/extensions/Emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const Emoji = Node.create({
HTMLAttributes: {},
suggestion: {
char: ':',
allowedPrefixes: [' '],
pluginKey: EmojiPluginKey,
command: ({ editor, range, props }) => {
editor
Expand Down

0 comments on commit 5ece8d4

Please sign in to comment.