Page 1 of 1

Can I disable/ignore CSS error messages?

Posted: Mon Oct 25, 2021 2:36 pm
by Riverglow
Every time I click the style selector (to change to an h1, h2, etc.) I get this message: "CSS: Invalid background-color: currentColor"

I wouldn't mind so much, except then it disables the style selector and changes it to (text), so I have to go into the Text Editor tab to manually select the style. I'd change my CSS but I'm dependent on using currentColor in order to get my page (including all icons) to adjust to dark mode, high contrast mode, etc.

Re: Can I disable/ignore CSS error messages?

Posted: Mon Oct 25, 2021 3:38 pm
by Riverglow
Just to update what I ended up doing (in case others have a similar issue) - I separated out all the "troublesome" CSS, put it in a separate sheet, and then told the masterpage to use that stylesheet (while all my topics use the original one). Outputs fine and no more errors.