diff --git a/public/logo.png b/public/logo.png
index af70e4b..812553c 100644
Binary files a/public/logo.png and b/public/logo.png differ
diff --git a/src/components/EditorToolbar.vue b/src/components/EditorToolbar.vue
index c7794e7..99ee9e3 100644
--- a/src/components/EditorToolbar.vue
+++ b/src/components/EditorToolbar.vue
@@ -7,7 +7,7 @@
H
- triggerAction('heading', key)">
+ $emit('action', 'heading', key)">
H1 标题
H2 标题
H3 标题
@@ -21,36 +21,36 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -68,9 +68,8 @@ import {
OrderedListOutlined,
LinkOutlined
} from '@ant-design/icons-vue';
-import { useEditor } from '../composables/useEditor';
-const { triggerAction } = useEditor();
+defineEmits(['action']);