Compare commits
2 Commits
516680d0cb
...
7a68232244
Author | SHA1 | Date | |
---|---|---|---|
|
7a68232244 | ||
|
4863bc2220 |
@ -209,9 +209,9 @@ const editor = useEditor({
|
||||
},
|
||||
suggestion: {
|
||||
...suggestion,
|
||||
char: '@', // 指定触发字符
|
||||
allowSpaces: false, // 不允许空格
|
||||
allowedPrefixes: null, // 允许任何前缀字符,不仅仅是空格
|
||||
char: '@',
|
||||
allowSpaces: false,
|
||||
allowedPrefixes: null,
|
||||
items: ({ query }) => {
|
||||
return suggestion.items({
|
||||
query,
|
||||
|
Loading…
Reference in New Issue
Block a user