Why is font-weight being stripped from the RCE???

Jump to solution
and-hu
Community Participant
1 Solution
and-hu
Community Participant

I deleted my responses and initial post because the whole thing frustrated me, but suffice it to say I went back and forth with Canvas about it and their final L1 response is that it is intended and to point to the HTML Allowlist (which has the font property on it, which is itself a shorthand property for several other properties, including font-weight - meaning you can still change font-weight with it - all of which you can still use independently except font-weight despite not being explicitly mentioned on the Allowlist).

There is no chance of our big university admin changing or adding CSS rules for us. But if you need a class for bold, using “ui-priority-primary” works, at least for me. The only thing rule I see for it in the Canvas CSS is in fact “font-weight:bold”

View solution in original post