docs: improve editor options

This commit is contained in:
Hufe921
2023-04-04 20:03:22 +08:00
parent 3cba30bcf9
commit 51d4a036a0
2 changed files with 45 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ instance.register.contextMenuList([
{
isDivider?: boolean;
icon?: string;
name?: string;
name?: string; // 使用%s代表选区文本。示例:搜索:%s
shortCut?: string;
when?: (payload: IContextMenuContext) => boolean;
callback?: (command: Command, context: IContextMenuContext) => any;