From c4dbb8897dc0ceae5dc40eedccc273f0c0c682b7 Mon Sep 17 00:00:00 2001
From: lifuhai <57932634+LiFuHai1106@users.noreply.github.com>
Date: Tue, 31 Jan 2023 09:59:34 +0800
Subject: [PATCH] =?UTF-8?q?tui-editor=E6=8D=A2=E6=88=90@toast-ui/vue-edito?=
=?UTF-8?q?r?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
src/components/MarkdownEditor/index.vue | 117 ++++--------------------
2 files changed, 21 insertions(+), 98 deletions(-)
diff --git a/package.json b/package.json
index 02f68e23..fdfd07e7 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"test:ci": "npm run lint && npm run test:unit"
},
"dependencies": {
+ "@toast-ui/vue-editor": "^3.2.2",
"axios": "0.18.1",
"clipboard": "2.0.4",
"codemirror": "5.45.0",
@@ -34,7 +35,6 @@
"screenfull": "4.2.0",
"script-loader": "0.7.2",
"sortablejs": "1.8.4",
- "tui-editor": "1.3.3",
"vue": "2.6.10",
"vue-count-to": "1.0.13",
"vue-router": "3.0.2",
diff --git a/src/components/MarkdownEditor/index.vue b/src/components/MarkdownEditor/index.vue
index 1a8a01ee..5b279b14 100644
--- a/src/components/MarkdownEditor/index.vue
+++ b/src/components/MarkdownEditor/index.vue
@@ -1,117 +1,40 @@
-
+
+
+
-