Allow heading tags (h1-h6) in ContentSanitizer so news editor headings render

This commit is contained in:
2026-06-04 07:52:57 +02:00
parent 0b33a1b074
commit 15870ddb1f
191 changed files with 15453 additions and 1786 deletions

View File

@@ -1583,6 +1583,22 @@
tab-size: 2;
}
.academy-lesson-prose :not(pre) > code {
display: inline-block;
padding: 0.14em 0.46em 0.16em;
border: 1px solid rgba(125, 211, 252, 0.18);
border-radius: 0.38rem;
background: rgba(56, 189, 248, 0.08);
color: rgb(186 230 253);
font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Menlo, Monaco, Consolas, monospace;
font-size: 0.875em;
font-weight: 500;
line-height: 1.5;
vertical-align: baseline;
white-space: normal;
word-break: break-word;
}
.academy-lesson-prose pre::after {
inset: 3rem 0 auto 0;
background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.26), rgba(56, 189, 248, 0));