From c2a71545aa244506ee2d8e40e0154c1411b45e6b Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 27 Mar 2024 13:00:07 +0800 Subject: [PATCH] refactor: ignore case when matching editor raw types (#5602) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind improvement /milestone 2.14.x #### What this PR does / why we need it: 编辑文章匹配编辑器类型时,忽略大小写。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/5597 #### Does this PR introduce a user-facing change? ```release-note None ``` --- .../contents/pages/SinglePageEditor.vue | 21 ++++++++++--------- .../modules/contents/posts/PostEditor.vue | 13 ++++++------ .../modules/contents/posts/PostEditor.vue | 3 ++- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/ui/console-src/modules/contents/pages/SinglePageEditor.vue b/ui/console-src/modules/contents/pages/SinglePageEditor.vue index 5f94f7f91..667e293bc 100644 --- a/ui/console-src/modules/contents/pages/SinglePageEditor.vue +++ b/ui/console-src/modules/contents/pages/SinglePageEditor.vue @@ -1,26 +1,26 @@