From a76e64dcdae13518f9658903914b99325a366ff7 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 4 Jul 2025 12:29:40 +0800 Subject: [PATCH] refactor: make toolbox button expandable on click in editor (#7598) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /area editor /milestone 2.21.x /kind improvement #### What this PR does / why we need it: Change the editor's toolbox button to expand on click, rather than on hover, to maintain consistency with other toolbar buttons. #### Does this PR introduce a user-facing change? ```release-note 将编辑器的工具箱按钮改为点击展开 ``` --- .../editor/src/components/EditorHeader.vue | 33 ++++++++++++------- .../src/components/toolbar/ToolbarItem.vue | 2 +- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/ui/packages/editor/src/components/EditorHeader.vue b/ui/packages/editor/src/components/EditorHeader.vue index 362219423..4068e23ca 100644 --- a/ui/packages/editor/src/components/EditorHeader.vue +++ b/ui/packages/editor/src/components/EditorHeader.vue @@ -1,7 +1,7 @@