From bc0c8b26015c40e8a4f56b8649d05013f6bb501b Mon Sep 17 00:00:00 2001 From: Hufe921 Date: Wed, 17 Nov 2021 21:19:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8B=E5=88=92=E7=BA=BF=E3=80=81?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- .../images/{deleteline.svg => strikeout.svg} | 0 src/editor/core/command/Command.ts | 12 ++++++++++ src/editor/core/command/CommandAdapt.ts | 20 ++++++++++++++++ src/editor/core/draw/Draw.ts | 14 +++++++++++ src/editor/core/draw/Strikeout.ts | 24 +++++++++++++++++++ src/editor/core/draw/Underline.ts | 24 +++++++++++++++++++ src/editor/index.ts | 2 ++ src/editor/interface/Editor.ts | 2 ++ src/main.ts | 8 +++++++ src/style.css | 4 ++-- 11 files changed, 109 insertions(+), 3 deletions(-) rename src/assets/images/{deleteline.svg => strikeout.svg} (100%) create mode 100644 src/editor/core/draw/Strikeout.ts create mode 100644 src/editor/core/draw/Underline.ts diff --git a/index.html b/index.html index 166f7a8..1303bb4 100644 --- a/index.html +++ b/index.html @@ -42,7 +42,7 @@ -