You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Dashlet26 If I am not wrong customizing CSS Schema doesn't have effect in <style> tag because allowStyling() API and it's whitelisting are for style attributes.
Apologies for my previous answer sticking with this one allowStyling() API and its whitelisting they are specially used for style attributes .
Customizing CSS Schema may not have an effect in <style> tag because it is realted to allowStyling() API for style attributes not for styling with <style> tag .
I hope this answer may help you but if not then you can counter me .
@Dashlet26 , Sorry but that's the question. I understand allowStyling() is used for attributes and that's why I replied for the earlier suggestion of customizing CSS Schema.
Is there a way to disallow particular property inside style tag for example : background-url?
We can write a preprocessor but i think, CssGrammar where we do sanitization is package specific. Is it a right way to sanitize css in <style>
@mikesamuel @jmanico
The text was updated successfully, but these errors were encountered: