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 not working anymore

Hi ! The issue I'm having is that when modifying my character-sheet on my original game, which was before the March 07 update, everything works fine However when creating a new game and uploading the exact same files, the CSS doesn't work, only the HTML is showing.. Any idea ? I'm pretty sure it's related to the new update..
1615948367

Edited 1615955511
vÍnce
Pro
Sheet Author
;-( Have you tried toggling the new game settings(custom sheets only) option to see if it changes anything? "Legacy Sanitization Forces sheet to use the more limited legacy version of CSS and HTML sanitization." I assume enabling the option would allow any "pre-update" code to run as it always has... If you are editing in the sandbox, you might need to use {    "legacy": true } In the sheet.json file to keep "Legacy Sanitization".
Didn't change anything :( I wrote it exactly like you did..
1615955167

Edited 1615955791
vÍnce
Pro
Sheet Author
Sorry, I should have noticed the ";" which I is not properly formatted for a json file. I'll correct the post above. If legacy is the only thing in your sheet.json I think it should actually be&nbsp; { "legacy": true } if you have other entries add it to the end and make sure to use a comma after the key:value pair above the legacy entry. { "foo": true, "foo2": "some text", "legacy": true } You can always test a json using&nbsp; <a href="https://jslint.com/" rel="nofollow">https://jslint.com/</a> &nbsp;for proper formatting. More info on the new iFrame and Sanitization Changes &nbsp;for sheets.
1615955601

Edited 1615955617
Thank you SO much, it worked !
1615955641
vÍnce
Pro
Sheet Author
+1