Closed Bug 67051 Opened 24 years ago Closed 24 years ago

copy-pasting a whole line will include a newline (clipboard)

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 56135

People

(Reporter: thuejk, Assigned: mozeditor)

References

()

Details

Copying a whole line and then pasting it will always always result in a newline at the end of the line. Try to mark any whole line, and see how the paste will include a newline at the end. Alternatively, mark any text from a text box like the one I am using right now; a newline will always be inserted at the end. Moreover, pasting this line into a mozilla text box as the one I am using right now will not initially show the newline. But when I try to write text just after the newline it will take effect (the cursor is moved to line below). When pasting into fx. a console the newline manifests itself immediatly correctly. (The newline is still there, but at least I can see it)
Reassigning to editor.
Assignee: adamlock → beppe
Component: Embedding APIs → Editor
QA Contact: mdunn → sujay
assigning to jfrancis
Assignee: beppe → jfrancis
I think it's a duplicate of bug 56135 This happens <pre> text and in input boxes. Reporter do you see it anywhere else? If not then this is a dup.
At least part of the bug is there; close this bug and the I will file a new one of I find problems once that fix is in.
Marking as dupe of 56135 as per reporters comments. *** This bug has been marked as a duplicate of 56135 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified dup of bug 56135 "Text copied from <pre> formatted text or from widget gets pasted with an extra newline"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.