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

Dynamic font size to text length

1588978863
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I'm trying to adapt a codepen into a sheet but it doesn't seem to work out of the box, I'm wondering if the roll20 sandbox is disallowing any part of this.&nbsp; <a href="https://codepen.io/jsstrn/pen/mMMmZB" rel="nofollow">https://codepen.io/jsstrn/pen/mMMmZB</a>
1588980012

Edited 1588980119
Andreas J.
Forum Champion
Sheet Author
Translator
Uh, you know Roll20 is pretty limited in what it allows to do with JavaScript? That JS didn't even remotely look like anything Roll20 would accept. How familiar are you with sheetworkers? JS can only edit character sheet attributes, but can't interact with DOM stuff at all.
1588986114
Richard T.
Pro
Marketplace Creator
Sheet Author
Compendium Curator
I figured that was the case. Not very familiar with JS at all.&nbsp;