I have a rich text field in form A that I display on a view.
If I submit an entry that contains text with font colours then those display just fine in the view. Now here is my question: I think I used to be able to copy this text from the view and paste it in another rich text field in form B and also copy the font colouring. It does not do that now. The font colours are in between "span" tags and these do not get copied to the clipboard. I've been tinkering and googling duck-duck-go-ing but am so far unable to fix this. Does anyone have a suggestion or is there no way around this? I've made test page where you can see and try my issue here.
Seems your answer may lie here: https://stackoverflow.com/questions/18617689/textarea-preserve-color-and-size-of-pasted-text
<p>Hey Bob, Thanks for the suggestion. That page is indeed about a similar issue. So I did some further testing and found out that instead of what I thought earlier, the formatting DOES come to the clipboard. If I paste into a rich text editor on my mac the formatting is there and also if I paste it into a libreoffice text doc.</p><p>The solution is somewhere in the rich text field (I hope).</p>
Please login or Register to submit your answer