Added mathrender error class for better error handling in math rendering

This commit is contained in:
meinzzzz 2025-12-02 22:29:20 +01:00
parent acca22f3a1
commit 9386465de7

View File

@ -212,3 +212,13 @@
outline: none !important; outline: none !important;
box-shadow: none !important; box-shadow: none !important;
} }
.ck-math-render-error {
color: var(--ck-color-error-text, #db1d1d);
padding: var(--ck-spacing-small);
font-style: italic;
font-size: 0.9em;
border: 1px dashed var(--ck-color-error-text, #db1d1d);
border-radius: 2px;
background: var(--ck-color-base-background, #fff);
}