Opened 12 years ago
Closed 12 years ago
#9711 closed Bug (expired)
[enter BR] plain space is not trimmed on copy and paste
Reported by: | Vladimri S. | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | |
Keywords: | Cc: |
Description (last modified by )
OS: Windows 7 Browser: Firefox 16.02
- Ctrl+C/Ctrl+V in WYSIWYG mode of a single plain space character pastes a line break insead of single plain space character when paste is done in the middle or at the beginning of any text within a container.
To reproduce:
- In enterMode set to BR, select a single plain space character in WYSIWYG mode.
- Copy it using Ctrl+C.
- Paste it anywhere in the beginning of any text contatiner or in the middle of text using Ctrl+V.
- <br/> instead of plain space is pasted.
NOTE: This does not happen in other enterModes - space is trimmed which is by design.
- In all enterModes, Ctrl+C and paste through context menu or 'Paste' button of a single plain space character does nothing.
To reproduce:
- Select a single plain space character in WYSIWYG.
- Copy it using Ctrl+C.
- Paste it anywhere using context menu or "Paste" button.
- A secure paste dialog box appears.
- Nor pressing Ctrl+V, neither selecting "Paste" in the context menu does nothing - you won't be able to paste a previously copied (?) space character here.
Note: "Paste Only Text" works OK.
Change History (4)
comment:1 Changed 12 years ago by
Description: | modified (diff) |
---|---|
Keywords: | copy paste plain space removed |
Summary: | Several issues concerning copy and paste of plain space characters → [enter BR] plain space is not trimmed on copy and paste |
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 12 years ago by
Status: | new → pending |
---|---|
Version: | 3.6.5 |
comment:5 Changed 12 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
NOTE: Current version of FF is 17.
First issue - I was able to reproduce it once or twice but not on regular basis.
What is the exact TC here?
Steps are probably the same but what configuration options have you used?
From which part of the text are you copying this white space?
Finally are you able to reproduce this issue in FF17?
Second issue is by design. Whenever you paste style content, white spaces get trimmed. Paste as plain text is not styled so there is no need to trim spaces there.