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