Skip to content

Commit adc9ec7

Browse files
feat(app)[editor]: add generate option to context menu
1 parent bfeff3e commit adc9ec7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/app/src/components/main_section/text_editor/editor/context_menu.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,10 @@ export function get_desktop_context_menu(view: EditorView): MenuItem[] {
5353
view.dispatch(view.state.replaceSelection(text));
5454
},
5555
},
56+
{
57+
label: 'Generate',
58+
icon_class: 'i-tabler:sparkles size-4.5',
59+
action: async () => {},
60+
},
5661
];
5762
}

0 commit comments

Comments
 (0)