• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Browser issue  copy/cut and paste in editor issue

Jo.

Well-known member
#1
We've noticed a weird issue between styles when cutting/copying and pasting from the editor. We have two custom styles and if someone cuts/copies and pastes content from the editor and then posts that content, the text is formatted with the same colour as the style it was copied/cut in, regardless of what style it's viewed in. In other words, say in one style the text is brown and in another it's white... if someone using the first style copies/cuts and pastes text from the editor and then posts it, it will show up as brown in both styles even though it should be white in the other one.

It appears to be an issue with Chrome as it's not happening in Firefox.

(Hope I explained that okay lol - I've added screenshots to show the difference between styles - see the first automerged post )

colourissue1.jpg colourissue2.jpg
 

Mike

XenForo developer
Staff member
#2
Unfortunately, this is basically how Chrome/WebKit works. It includes the actual colors of the text when pasted.