Skip to content

Commit

Permalink
fix(suggestion): set default allowedPrefixes null (#3239)
Browse files Browse the repository at this point in the history
Co-authored-by: Zoe.L <[email protected]>
  • Loading branch information
Matrixbirds and Zoe.L authored Sep 29, 2022
1 parent f6c6b67 commit 04b9da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suggestion/src/suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function Suggestion<I = any>({
editor,
char = '@',
allowSpaces = false,
allowedPrefixes = [' '],
allowedPrefixes = null,
startOfLine = false,
decorationTag = 'span',
decorationClass = 'suggestion',
Expand Down

0 comments on commit 04b9da4

Please sign in to comment.