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

Dev: Possible to view sheet without loading it into roll20?

1426281706
Kryx
Pro
Sheet Author
API Scripter
Hey, I'm looking to contribute to sheets via forking on github and making changes. Is it possible to view the changes without having to import it into roll20 each time? I'll have to get a mentor subscription to do that, but it would be nice to see changes without packaging and putting it on there.
1426304452

Edited 1426304552
vÍnce
Pro
Sheet Author
Hi Mark. Sure, you can load the html and link the css sheet using a web page editor. You will get better results making a "wrapper" that emulates the roll20 editor. I believe there is a post somewhere on the forums... Your wrapper should also include links to the other 2 css files that get linked with the editor, base.css and app.css(editor.css). I do this using Dreamweaver. Here's my "wrapper" code. I can't recall how I downloaded the base.css and app.css. I'm sure there's a trick.(maybe use Chrome's inspect element and copy/paste) You may need to adjust some the settings to better match your setup. Cheers <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <link href="base.css" rel="stylesheet" type="text/css"> <link href="editor.css" rel="stylesheet" type="text/css"> <!-- Link your CSS file here --> <title></title> </head> <body> <div style="display: block; width: 100%; height: 100%; margin: 0 auto; position: fixed !important;"> <div style="display: block; width: 925px; height: 100%; overflow: auto;"> <div style="display: block; width: 100%; height: 100%; background-color: #FFF;"> <div id="root" style="padding-top:0px;"> <!-- BEGIN Character Sheet HTML --> <!-- END Character Sheet HTML --> </div> </div> </div> </div> </body> </html>