From a8b827b796d0933e35674e6ac35e43553342ba09 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 3 Sep 2023 18:50:57 +0800 Subject: [PATCH] mod: rebuild editor --- .../{TopBar => top-bar}/Hamburger.vue | 0 .../{TopBar => top-bar}/KUNGalgameTopBar.vue | 0 .../{TopBar => top-bar}/topBarItem.ts | 0 src/components/wang-editor/Title.vue | 86 +++++++++++++ .../{ => wang-editor}/WangEditor.vue | 57 +++++++-- src/components/wang-editor/key.js | 62 ++++++++++ src/layout/KUNGalgameAPP.vue | 2 +- src/styles/editor/editor.scss | 8 +- src/views/edit/Edit.vue | 113 ++---------------- .../topic/content/components/ReplyPanel.vue | 2 +- 10 files changed, 207 insertions(+), 123 deletions(-) rename src/components/{TopBar => top-bar}/Hamburger.vue (100%) rename src/components/{TopBar => top-bar}/KUNGalgameTopBar.vue (100%) rename src/components/{TopBar => top-bar}/topBarItem.ts (100%) create mode 100644 src/components/wang-editor/Title.vue rename src/components/{ => wang-editor}/WangEditor.vue (74%) create mode 100644 src/components/wang-editor/key.js diff --git a/src/components/TopBar/Hamburger.vue b/src/components/top-bar/Hamburger.vue similarity index 100% rename from src/components/TopBar/Hamburger.vue rename to src/components/top-bar/Hamburger.vue diff --git a/src/components/TopBar/KUNGalgameTopBar.vue b/src/components/top-bar/KUNGalgameTopBar.vue similarity index 100% rename from src/components/TopBar/KUNGalgameTopBar.vue rename to src/components/top-bar/KUNGalgameTopBar.vue diff --git a/src/components/TopBar/topBarItem.ts b/src/components/top-bar/topBarItem.ts similarity index 100% rename from src/components/TopBar/topBarItem.ts rename to src/components/top-bar/topBarItem.ts diff --git a/src/components/wang-editor/Title.vue b/src/components/wang-editor/Title.vue new file mode 100644 index 00000000..94210f2d --- /dev/null +++ b/src/components/wang-editor/Title.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/src/components/WangEditor.vue b/src/components/wang-editor/WangEditor.vue similarity index 74% rename from src/components/WangEditor.vue rename to src/components/wang-editor/WangEditor.vue index eb3e897a..d16b53fb 100644 --- a/src/components/WangEditor.vue +++ b/src/components/wang-editor/WangEditor.vue @@ -2,14 +2,32 @@ 编辑器实例共用组件 -->