From 3d31989d4b4b4ccbe96457dbb75b07b78aa054cd Mon Sep 17 00:00:00 2001 From: cfq Date: Mon, 26 Jan 2026 18:38:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E4=B8=BA=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E6=B7=BB=E5=8A=A0=E5=B7=A5=E5=85=B7=E6=A0=8F=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增 EditorToolbar 组件,提供标题、文本样式、引用、代码、链接和列表等常用格式操作按钮 - 在 LivePreviewEditor 中集成工具栏,并调整编辑器样式以适配工具栏布局 --- src/components/EditorToolbar.vue | 85 ++++++++++++++++++++++++++++ src/components/LivePreviewEditor.vue | 4 +- 2 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 src/components/EditorToolbar.vue diff --git a/src/components/EditorToolbar.vue b/src/components/EditorToolbar.vue new file mode 100644 index 0000000..c7794e7 --- /dev/null +++ b/src/components/EditorToolbar.vue @@ -0,0 +1,85 @@ + + + + + \ No newline at end of file diff --git a/src/components/LivePreviewEditor.vue b/src/components/LivePreviewEditor.vue index b728cc0..1e140ed 100644 --- a/src/components/LivePreviewEditor.vue +++ b/src/components/LivePreviewEditor.vue @@ -1,9 +1,10 @@