refactor(editor): 移除注释并保持原有功能
This commit is contained in:
commit
7a68232244
@ -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