Don't remove css variables in style attributes

0 Likes
(1)

When editing source code of page, currently css varibles expressed in style attribute are removed. It would be helpful if these were left in place.

Ex. style="--max-flt-img-width: 200px;" is removed. These have very good cross browser support: https://caniuse.com/#search=css%20variables;

4 Comments
Stef_retired
Instructure Alumni
Instructure Alumni
Status changed to: Open

@joe_spencer 

Thanks for sharing this idea. To confirm, are you referencing the HTML that is documented in the Canvas HTML Editor Allowlist PDF?

joe_spencer
Community Member
Author

Yes, the rich content editor will strip this out when saving or toggling from source view.

erinhmcmillan
Instructure Alumni
Instructure Alumni

@joe_spencer we have some updates that just went to beta for the whitelist. Will you take a look and let us know what specifically you are still looking for?

Thanks,

Erin

KristinL
Community Team
Community Team
Status changed to: Archived

Thank you for bringing this to the attention of The Community and the Product Team!

The Product Team reviewed all feature proposals recently, and this thread was identified as a bug. This thread has been linked to an internal ticket and will be addressed using that system instead of our formal Idea Conversations process.