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

Keep text formating in < textarea >

1686331081
Shey L'Ours
Pro
Sheet Author
Hello there,&nbsp; Is there any way to freely formatting the text in &lt;textarea&gt; ? Actually it seem that the &lt;textarea&gt; is ruled by the CSS, right ? Is there any way that I can copy/paste text from a GDOC and it keep the bold things, line breaks, italic ? Bonus : I also use ScriptCard, and when I call my textarea, it display the text without any line break, it delete them all. If you have any advice about that too ? Cheers.
1686334174
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Textareas only accept raw text unfortunately, they don't have any means to handle formatted text. For script cards, I'd guess that it's outputting them all in a div or paragraph element. You could submit a bug report to the script cards forum thread.
1686348185
Shey L'Ours
Pro
Sheet Author
Alright :/ Is there any other format that accept formating text ? I assume no, but I'm asking anyway ?
1686359968
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Not that we can cruise on roll20 character sheets.