From b375352c227541db7c2475d60930acc05c4f5751 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Wed, 22 Jan 2025 12:48:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E4=BD=BF=E7=94=A8=20wa?= =?UTF-8?q?ngeditor-next=20=E6=9B=BF=E6=8D=A2=20wangeditor=20=EF=BC=8C?= =?UTF-8?q?=E9=87=8D=E6=9E=84=E7=AE=80=E5=8C=96=E5=AF=8C=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E7=BB=84=E4=BB=B6=E7=9A=84=E5=B0=81?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +- src/components/WangEditor/index.vue | 88 +++++++++++++++++------------ src/views/demo/wang-editor.vue | 10 +++- src/views/system/notice/index.vue | 9 +-- 4 files changed, 61 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index ff1502d3..4b20ea47 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "@element-plus/icons-vue": "^2.3.1", "@stomp/stompjs": "^7.0.0", "@vueuse/core": "^10.11.1", - "@wangeditor/editor": "^5.1.23", - "@wangeditor/editor-for-vue": "5.1.10", + "@wangeditor-next/editor": "^5.6.29", + "@wangeditor-next/editor-for-vue": "^5.1.14", "axios": "^1.7.9", "codemirror": "^5.65.18", "codemirror-editor-vue3": "^2.8.0", diff --git a/src/components/WangEditor/index.vue b/src/components/WangEditor/index.vue index f79062de..47f290d8 100644 --- a/src/components/WangEditor/index.vue +++ b/src/components/WangEditor/index.vue @@ -1,80 +1,94 @@ + + - - diff --git a/src/views/demo/wang-editor.vue b/src/views/demo/wang-editor.vue index 67db92d0..560f0ecb 100644 --- a/src/views/demo/wang-editor.vue +++ b/src/views/demo/wang-editor.vue @@ -1,8 +1,8 @@