The fact that colours were copied was also an often reported bug.
Think of the scenario where a site has a light style and a dark style and text copy pasted by a user of the light style maybe invisible to users of the dark style and vice versa.
Not to mention any text copied from any other site that may not work with the currently enabled style.
When pasting, most formatting is removed (though some is kept). However, if you're pasting from one XenForo editor to another (or within the same one), all formatting is maintained.
It does work if you have more than one line selected. Looks like that's because the code that detected the paste was from redactor required a <div> tag to have the extra attribute. I've now applied that in a few other cases to try to catch this situation.
It does work if you have more than one line selected. Looks like that's because the code that detected the paste was from redactor required a <div> tag to have the extra attribute. I've now applied that in a few other cases to try to catch this situation.
Have you applied the fix here? I can still reproduce it.
There's something related that I want to report, but need to make sure if it's not resolved by this fix.
Have you applied the fix here? I can still reproduce it.
There's something related that I want to report, but need to make sure if it's not resolved by this fix.
As noted, colors (and various other things) are only maintained if you copy from within the editor. If you are copying from anywhere else, heavy filtering will be applied to the pasted text.
As noted, colors (and various other things) are only maintained if you copy from within the editor. If you are copying from anywhere else, heavy filtering will be applied to the pasted text.