From b41f131f3abdd999106432efb3a68385c830dcf0 Mon Sep 17 00:00:00 2001 From: YangQi Date: Tue, 23 Aug 2022 22:22:01 +0800 Subject: [PATCH] refactor: convert menus to options (#190) --- .../CodemirrorEditor/EditorHeader/index.vue | 85 +++++++++---------- 1 file changed, 40 insertions(+), 45 deletions(-) diff --git a/src/components/CodemirrorEditor/EditorHeader/index.vue b/src/components/CodemirrorEditor/EditorHeader/index.vue index 8ac6e51..29ec3d4 100644 --- a/src/components/CodemirrorEditor/EditorHeader/index.vue +++ b/src/components/CodemirrorEditor/EditorHeader/index.vue @@ -35,38 +35,12 @@ - 加粗 - Ctrl + B - - - 斜体 - Ctrl + I - - - 删除线 - Alt + Shift + U - - - 超链接 - Alt + Shift + K - - - 格式化 - Ctrl + Alt + L + {{ label }} + {{ kbd }}