From 04b9da4760f467c446cbcf2fd08030e089d9be5f Mon Sep 17 00:00:00 2001 From: matrixbirds <9990676+Matrixbirds@users.noreply.github.com> Date: Thu, 29 Sep 2022 21:20:08 +0800 Subject: [PATCH] fix(suggestion): set default allowedPrefixes null (#3239) Co-authored-by: Zoe.L --- packages/suggestion/src/suggestion.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/suggestion/src/suggestion.ts b/packages/suggestion/src/suggestion.ts index b07fe367..7b45f24b 100644 --- a/packages/suggestion/src/suggestion.ts +++ b/packages/suggestion/src/suggestion.ts @@ -61,7 +61,7 @@ export function Suggestion({ editor, char = '@', allowSpaces = false, - allowedPrefixes = [' '], + allowedPrefixes = null, startOfLine = false, decorationTag = 'span', decorationClass = 'suggestion',