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 .
×

Copying text

Im in dark mode on roll20 and one of my players are in light mode and when i copy form one thing to another it dose stupid black highlighting that if i try to fix it it breaks evern more till i have to switch to light mode just to fix.
1784569184
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Silv! I totally agree — this is indeed a problem. Even copying dark mode to dark mode can cause issues (example, copying from a game forum and pasting in a Roll20 open forum can lead to undesirable results.) I don't know if there is an easy solution to this, short of replacing the entire text engine (which would introduce a raft of other issues). It would be nice if Roll20 had a less aggressive format eraser than the built in formatting button, that would strip html down to its bare bones. The only workaround I have been able to find is a vastly unwieldy workflow of copying the handout, pasting the contents to an external html cleaning tool, and pasting that.
1784570610
Gauss
Forum Champion
What happens when you use Ctrl+Shift+V to paste?  It should paste as plain text.
1784571248
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Plain text pasting usually works just fine. I had (perhaps incorrectly) assumed that the problem was retaining basic styling (headers, lists, etc.)
Ctrl+Shift+V should work, but it sometimes doesn't. The only reliable way I've found is to paste into a plain text editor like Notepad, then copy and CTRL+SHFT+V that into a new handout. Even  doing that I usually need to fix the line spacing.
1784572319
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Also, if you have previously posted in that field, and decided to try again with a clean paste, hitting backspace a few times on the empty field, followed by the erase formatting button is sometimes necessary in order to nuke any possible remaining formatting characters.
1784596247
Andrew R.
Pro
Sheet Author
I would be much happier if every text field was simply Markdown. Handouts, Bios, Tooltips, everything!
1784615325
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Andrew R. said: I would be much happier if every text field was simply Markdown. Handouts, Bios, Tooltips, everything! If you don't already use it, you might be interested in Stephen S. Markdown script. Maintain a css definition handout, paste markdown in GMNotes field, it becomes custom styled text in the Notes field