mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-29 08:19:34 +08:00
disable allow spaces for mentions
This commit is contained in:
parent
b5fe141afa
commit
f645b9edc0
@ -47,7 +47,7 @@ export default class MentionNode extends Node {
|
||||
suggestionsPlugin({
|
||||
debug: true,
|
||||
matcher: triggerCharacter('@', {
|
||||
allowSpaces: true,
|
||||
allowSpaces: false,
|
||||
startOfLine: false,
|
||||
}),
|
||||
command: ({ pos, attrs, schema }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user