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

Fixed Last line isn't copied to clipboard if it has no break

Walter

Well-known member
#1
Highlighting all text in the editor here on XF 1.2 and pressing Ctrl-C to copy the text doesn't always copy the whole text to the clipboard.

Example: text in editor is
Code:
line 1<br>
line 2
If using Opera only line 1 is copied. If I want to have also line 2 copied I need to add a break to line 2.
In Firefox and IE line 2 is copied correctly in all cases.
 

Mike

XenForo developer
Staff member
#4
I'm unable to reproduce this. It copies both for me.

Can you re-confirm this now? If so, can you explain how you're doing the selection (where you're starting it, ending it, etc)?
 

Walter

Well-known member
#5
Not reproducable now.

But now if I do the same test (see above) in Oprea, the clipboard contains one linefeed too much:
Code:
line 1

line 2
 

Mike

XenForo developer
Staff member
#6
Wait, where are you pasting? You're not pasting back into the editor are you?

I did just see the blank line issue when pasting into a plain text editor, and I've managed to fix that (rolled out shortly).