mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 06:03:22 +08:00
fix(suggestion): set default allowedPrefixes null (#3239)
Co-authored-by: Zoe.L <yang.li06@mihoyo.com>
This commit is contained in:
parent
f6c6b67096
commit
04b9da4760
@ -61,7 +61,7 @@ export function Suggestion<I = any>({
|
||||
editor,
|
||||
char = '@',
|
||||
allowSpaces = false,
|
||||
allowedPrefixes = [' '],
|
||||
allowedPrefixes = null,
|
||||
startOfLine = false,
|
||||
decorationTag = 'span',
|
||||
decorationClass = 'suggestion',
|
||||
|
Loading…
Reference in New Issue
Block a user