Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

CSS - compiler error with new-window class

1588746197

Edited 1588773294
Hi, when I use ".sheet-new-window" as class, the script instrumen.ts return this error     Potential security violation; character sheet template styling throw out     + array("0" : "window", "1": "window", "input": <css raw file>, "length" : 2)
1588769523

Edited 1588769756
Andreas J.
Forum Champion
Sheet Author
Translator
Interesting, seems the security filtering forbids using that name for css classes in character sheet. Simple solution, use a different name for the class and it won't be an issue. Edit: I updated the wiki to include this info: <a href="https://wiki.roll20.net/Building_Character_Sheets#Restrictions" rel="nofollow">https://wiki.roll20.net/Building_Character_Sheets#Restrictions</a>
Yep I change the class name to .sheet-newwindow , thank you for the update on the wikii