From 2315357125ee6ba572bc0efaed725eba15006a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Tue, 9 Feb 2021 21:04:33 +0100 Subject: [PATCH] add keyboardShortcut and enter command --- docs/src/demos/Examples/Default/index.vue | 15 --- docs/src/docPages/api/commands.md | 2 + packages/core/src/commands/enter.ts | 34 +------ .../core/src/commands/keyboardShortcut.ts | 95 +++++++++++++++++++ packages/core/src/extensions/commands.ts | 2 + 5 files changed, 102 insertions(+), 46 deletions(-) create mode 100644 packages/core/src/commands/keyboardShortcut.ts diff --git a/docs/src/demos/Examples/Default/index.vue b/docs/src/demos/Examples/Default/index.vue index 19049ce4..c951a44a 100644 --- a/docs/src/demos/Examples/Default/index.vue +++ b/docs/src/demos/Examples/Default/index.vue @@ -1,21 +1,6 @@