From 3e7952fd9809cc83950af9ea39a701e126fd37d5 Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Wed, 26 Oct 2022 21:10:57 +0800 Subject: [PATCH] feat:add richtext shortcut key --- index.html | 18 ++-- src/editor/core/command/CommandAdapt.ts | 86 ++-------------- src/editor/core/event/CanvasEvent.ts | 127 +++++++++++++++++++++++- src/editor/dataset/enum/KeyMap.ts | 11 ++ 4 files changed, 152 insertions(+), 90 deletions(-) diff --git a/index.html b/index.html index 07bc24e..509de7f 100644 --- a/index.html +++ b/index.html @@ -39,19 +39,19 @@ -