Don't strip Flex properties from style attributes

0 Likes
(2)

Flex has wide cross browser support. https://caniuse.com/?search=flex Please don't strip these properties from style attributes. This would include, among others, flex-grow, flex-shrink, flex-basis, flex, etc.

6 Comments
Stef_retired
Instructure Alumni
Instructure Alumni
Status changed to: Open
 
eschiebel
Instructure
Instructure

This was an oversight. Very sorry. Working on it.

matthew_buckett
Community Contributor

In a recent update Canvas was updated to allow the `flex` style property (Canvas allowlist was updated: https://tr-learncanvas.s3.amazonaws.com/docs/Canvas_HTML_Editor_Allowlist.pdf) which improves the layout options that are available, however supporting properties such as `flex-direction` or `flex-wrap` haven't been added so the layouts that are easily achieved are limited. If you want to support only the shorthand properties then supporting `flex-flow` would improve matters.

 

MattHanes
Community Champion
VasquezL57
Community Member

ok

KristinL
Community Team
Community Team
Status changed to: Archived

Thank you for sharing this idea with the Instructure Community!

The Product Team reviewed all feature proposals recently, and unfortunately, this thread was identified as one that they would not be able to include in their current or future plans. While we appreciate your proposal, we also want to be transparent about the likelihood of something like this making it to production.

Thank you for collaborating, and we hope that you submit another idea in the future!