From c22fab2b3484ee8d8f2255920859aeb104b1886a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Fri, 4 Oct 2024 14:20:42 +0800 Subject: [PATCH] fix: correct formatting issues in DefaultEditor component (#6752) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind cleanup #### What this PR does / why we need it: 修复 DefaultEditor 组件中的格式问题。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- ui/src/components/editor/DefaultEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/editor/DefaultEditor.vue b/ui/src/components/editor/DefaultEditor.vue index dc20051bc..a4ab84781 100644 --- a/ui/src/components/editor/DefaultEditor.vue +++ b/ui/src/components/editor/DefaultEditor.vue @@ -484,7 +484,7 @@ function handleFocusEditor(event) { :value="title" type="text" :placeholder="$t('core.components.default_editor.title_placeholder')" - class="w-full border-x-0 !border-b border-t-0 !border-solid !border-gray-100 p-0 !py-2 text-4xl font-semibold placeholder:text-gray-300 leading-none" + class="w-full border-x-0 !border-b border-t-0 !border-solid !border-gray-100 p-0 !py-2 text-4xl font-semibold leading-none placeholder:text-gray-300" @input="onTitleInput" @keydown.enter="handleFocusEditor" />