From c80e61d7cc7857cac05f1dce5b67f22666b0e028 Mon Sep 17 00:00:00 2001 From: lk <2995201114@qq.com> Date: Fri, 12 Sep 2025 22:41:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(#541):=20=E4=BF=AE=E5=A4=8D=E3=80=8C?= =?UTF-8?q?=E6=9A=97=E8=89=B2=E4=B8=BB=E9=A2=98=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=EF=BC=8C=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AE=E5=B0=B1=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1=E4=BA=86=E3=80=8D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/core/article/style.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/app/core/article/style.scss b/src/app/core/article/style.scss index ef438b0c..9b686f60 100644 --- a/src/app/core/article/style.scss +++ b/src/app/core/article/style.scss @@ -30,8 +30,16 @@ } } -.vditor--dark .vditor-reset{ - h1, h2, h3, h4, h5, h6, p, span, li { +.vditor--dark .vditor-reset { + h1:not(code h1), + h2:not(code h2), + h3:not(code h3), + h4:not(code h4), + h5:not(code h5), + h6:not(code h6), + p:not(code p), + span:not(code span), + li:not(code li) { @apply text-zinc-100 !important; } }