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