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

May 06 (4 years ago)

Edited May 06 (4 years ago)

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)

May 06 (4 years ago)

Edited May 06 (4 years ago)
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: https://wiki.roll20.net/Building_Character_Sheets#Restrictions

Yep I change the class name to .sheet-newwindow , thank you for the update on the wikii