From 3d5e8d8531baa6736356ba6ef0b21e5e066ead20 Mon Sep 17 00:00:00 2001 From: Leecason Date: Fri, 8 Jul 2022 09:20:21 +0800 Subject: [PATCH] fix: in code view mode, disable menu button --- .../MenuCommands/CodeViewCommandButton.vue | 16 +++++++++------- .../MenuCommands/FullscreenCommandButton.vue | 16 +++++++++------- src/components/MenuCommands/HeadingDropdown.vue | 4 +++- .../Image/InsertImageCommandButton.vue | 5 ++++- .../MenuCommands/Link/AddLinkCommandButton.vue | 4 +++- src/extensions/code-view.ts | 2 +- 6 files changed, 29 insertions(+), 18 deletions(-) diff --git a/src/components/MenuCommands/CodeViewCommandButton.vue b/src/components/MenuCommands/CodeViewCommandButton.vue index 0bd14e3..65dd59f 100644 --- a/src/components/MenuCommands/CodeViewCommandButton.vue +++ b/src/components/MenuCommands/CodeViewCommandButton.vue @@ -1,11 +1,13 @@