From cc0b936704b6b1332dd24911918e0a46fc0c6568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BA=91=E9=A3=9E?= Date: Fri, 19 Nov 2021 15:53:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E8=A1=8C=E9=97=B4?= =?UTF-8?q?=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 14 ++++++++++++++ src/assets/images/row-margin.svg | 1 + src/editor/core/command/Command.ts | 6 ++++++ src/editor/core/command/CommandAdapt.ts | 22 ++++++++++++++++++++++ src/editor/core/draw/Draw.ts | 7 ++++--- src/editor/core/range/RangeManager.ts | 8 ++++++-- src/editor/index.ts | 2 ++ src/editor/interface/Editor.ts | 2 ++ src/editor/interface/Element.ts | 1 + src/editor/interface/Listener.ts | 1 + src/main.ts | 18 ++++++++++++++++-- src/style.css | 9 +++++++++ 12 files changed, 84 insertions(+), 7 deletions(-) create mode 100644 src/assets/images/row-margin.svg diff --git a/index.html b/index.html index 1d81623..6c2b510 100644 --- a/index.html +++ b/index.html @@ -79,6 +79,20 @@ +