From 92f3696e4432b70bdd2d9ab5de36f9f3df0238c3 Mon Sep 17 00:00:00 2001 From: parisma Date: Thu, 22 Sep 2022 15:14:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E7=BB=84=E4=BB=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E5=9D=97=E7=9A=84=E7=BB=91=E5=AE=9A=E5=85=B3=E7=B3=BB?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=88=B0dsl=E4=B8=AD,=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=BB=84=E4=BB=B6=E8=A7=A3=E9=99=A4=E5=85=B3?= =?UTF-8?q?=E7=B3=BB=E7=9A=84=E9=97=AE=E9=A2=98,=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=9D=97dsl=E6=94=AF=E6=8C=81=E6=89=A9=E5=B1=95=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/Editor.vue | 35 ---- packages/editor/src/fields/CodeSelect.vue | 54 ++++-- .../sidebar/code-block/CodeBlockList.vue | 45 ++--- packages/editor/src/services/codeBlock.ts | 180 ++++++++++++------ packages/editor/src/services/editor.ts | 4 + packages/editor/src/type.ts | 28 ++- playground/src/configs/dsl.ts | 9 +- 7 files changed, 201 insertions(+), 154 deletions(-) diff --git a/packages/editor/src/Editor.vue b/packages/editor/src/Editor.vue index fe087c715..6d0c16487 100644 --- a/packages/editor/src/Editor.vue +++ b/packages/editor/src/Editor.vue @@ -65,7 +65,6 @@