Opened 15 years ago
Closed 13 years ago
#5696 closed Bug (fixed)
IE : Cursor moves to the start of paragraph in the Pasted Text
Reported by: | Satya Minnekanti | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.2 |
Keywords: | IBM | Cc: | Damian, joek |
Description
To reproduce the defect
- Open Ajax sample.
- Paste the following text in to the Editor "The wisest man has still got something new to learn"
Expected Result: Data will be pasted with the cursor stayed at the end of the pasted line.
Actual Result: Data will be pasted with cursor moved to the front of the pasted line
- Move cursor to the end of the line with pasted data
- Attempt to paste the previous text at the end of the line.
Expected Result: Data will be pasted at the end of the current line.
Actual Result: Data is pasted on a a new line
Tested against IE6&7
Change History (8)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | → CKEditor 3.4 |
---|
comment:3 Changed 15 years ago by
Milestone: | CKEditor 3.4 → CKEditor 3.5 |
---|
comment:4 follow-up: 5 Changed 15 years ago by
Status: | new → pending |
---|
I'm not able to reproduce the bug on trunk anymore.
comment:5 Changed 15 years ago by
Replying to Saare:
I'm not able to reproduce the bug on trunk anymore.
The first issue is not reproducible but the second issue from step 3 is still reproducible.
- Move cursor to the end of the line with pasted data
- Attempt to paste the previous text at the end of the line.
Expected Result: Data will be pasted at the end of the current line.
Actual Result: Data is pasted on a a new line
comment:6 Changed 14 years ago by
Milestone: | CKEditor 3.4.2 |
---|
The second case is reproducible, but I'm sure the result depends on browsers quite much, some browser might choose to treated it a new line, while some not, for me in this case the former result is better.
comment:7 Changed 14 years ago by
Cc: | damo,joek → damo, joek |
---|---|
Component: | General → Core : Pasting |
The result is highly related to the source of the copied content, I could get the desired result (paste appended) with the following steps in all IEs:
- Load the editor with following text:
<p>A single paragraph</p>
- Select the full paragraph using Select All or click on "p" element of the elements path bar.
- Copy with Ctrl-C.
- Press End to place cursor at the end of block.
- Paste with Ctrl-V.
But it fails if I replicate step.2 in another way:
2. Select the full paragraph using mouse drag over the entire text range
Anyway, ticket desc. should be updated to be more specific as it's really a case-by-case thing.
comment:8 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | pending → closed |
This is no longer reproducible. Tested in CKEditor 3.6.3.
It's related to the browser's native paste feature, we're intended to deal with it at #5309.