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
When you set the value of style-src to 'self', ContentTools fails to apply some styles. This comes from using node.setAttribute("style", …) instead of node.style.attrubute = ... as you can read here.
I think it might not be that easy because you use code like this:
When you set the value of style-src to 'self', ContentTools fails to apply some styles. This comes from using
node.setAttribute("style", …)
instead ofnode.style.attrubute = ...
as you can read here.I think it might not be that easy because you use code like this:
But it should be possible to store the styles as a map instead and to something like:
I really would appreciate if you could implement this.
The text was updated successfully, but these errors were encountered: