diff --git a/src/modules/WidgetExtension.ts b/src/modules/WidgetExtension.ts index 8cb77f1..cc57cb6 100644 --- a/src/modules/WidgetExtension.ts +++ b/src/modules/WidgetExtension.ts @@ -148,6 +148,17 @@ class FloatingWidget extends WidgetType { }, preventDefault: true, }, + { + key: "Mod-a", + run: (view) => { + const doc = view.state.doc; + view.dispatch({ + selection: { anchor: 0, head: doc.length }, + }); + return true; + }, + preventDefault: true, + }, ]), // 3) Enable slash-command autocompletion slashCommandAutocompletion({