mirror of https://github.com/halo-dev/halo
fix: prevent hidden English characters in post title input (#6749)
#### What type of PR is this? /area ui /kind improvement #### What this PR does / why we need it: #### Which issue(s) this PR fixes: #6748 Fixes #6748 #### Special notes for your reviewer: 使英文标题中字母不被截断  #### Does this PR introduce a user-facing change? ```release-note 修复文章编辑页面标题输入框中,英文字符可能会被隐藏的问题 ```pull/6752/head
parent
462fac0eb6
commit
545a5a63cc
|
@ -484,7 +484,7 @@ function handleFocusEditor(event) {
|
||||||
:value="title"
|
:value="title"
|
||||||
type="text"
|
type="text"
|
||||||
:placeholder="$t('core.components.default_editor.title_placeholder')"
|
: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"
|
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"
|
||||||
@input="onTitleInput"
|
@input="onTitleInput"
|
||||||
@keydown.enter="handleFocusEditor"
|
@keydown.enter="handleFocusEditor"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue