I am also having this issue (using v13.0.124) with the justify-content property in my css.
This is not a tag or attribute so I don't see how the HTMLSanitizer helps (unless the documentation isn't complete?).
This is my custom config:
configurations["default"] = {
toolbarVisibleWithoutSelection: true,
htmlUntouched: true,
paragraphFormat: {
N: "Normal",
H1: "Headline 1",
H2: "Headline 2",
H3: "Headline 3",
H4: "Headline 4",
H5: "Headline 5",
H6: "Headline 6",
},
htmlRemoveTags: [],
htmlAllowedTags: ['.*'],
htmlAllowedStyleProps: ['.*'], //this is the default anyway
};
Yes I cleared the browser cache (and checked in the network tab to see if the new config loaded).
I don't think it's Froala stripping it away as when I click apply and close in the Froala editor and open it again the property justify-content
is still there.
Only when I click Apply on the widget properties dialog does it get stripped away.
Is there some sort of CMSHtmlSanitizerAllowedStyles like property not mentioned in the docs? Searching for CMSHtmlSanitizerAllowed* only gives us tags and attributes.
Thanks,
Rory