Opened 11 years ago
Last modified 9 years ago
#10847 confirmed Bug
[FF] Incorrect cursor position on Backspace
Reported by: | Irina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | IBM | Cc: | Teresa Monahan, Satya Minnekanti |
Description
To Reproduce:
- Type some text and press Enter key
- Hit Backspace
- New empty paragraph removed & cursor goes back to end of the first paragraph
- Press spacebar or type some text
Problem: Cursor moves to next line
Attachments (1)
Change History (16)
comment:1 Changed 11 years ago by
Milestone: | → CKEditor 4.2.2 |
---|
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|
comment:4 Changed 11 years ago by
I could still reproduce the issue. Open Replace textarea elements by class name sample, select all the content by using Ctrl + A and press Delete or Backspace to delete the content. Repeat steps 1-4 mentioned in the description, we can reproduce the issue. Please re-open the ticket
comment:5 Changed 11 years ago by
Milestone: | CKEditor 4.2.2 |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Version: | 4.2.1 |
Unfortunately I confirm this. This TC is very fragile and somehow I repeatedly tested it incorrectly on 4.2 and 4.2.2, confirming it only on 4.2.1 :|.
The TC has to be exactly this (no focus/selection changes, or additional keystrokes):
- Open replacebyclass sample.
- Click in editor, CTRL+A, backspace (once!).
- Type something, enter, backspace.
- Type something again.
Using these steps I was able to reproduce this issue at least from CKEditor 4.0.
comment:6 Changed 11 years ago by
Status: | reopened → confirmed |
---|
comment:7 Changed 11 years ago by
Version: | → 3.0 |
---|
With TC from comment:5 I was able to reproduce this problem from CKEditor 3.0 (Perhaps this is some new browser quirks/feature.) in both CKE 3.x and 4.x.
NOTE: I believe we had similar issue once #4964.
In this case, this is what gets inserted into editor when you start typing in it <p>text<br /></p>
. Once you hit enter and backspace cursor most likely is inserted after BR thus the result: <p>text<br />^</p>
comment:8 Changed 11 years ago by
There is very similar issue: #10209. I believe they both duplicate each other and can be fixed with one patch.
comment:9 Changed 11 years ago by
comment:10 Changed 10 years ago by
I can't repeat this problem in Drupal 8 following the steps indicated in the summary.
Would I be having trouble replicating this problem as I'm using a Mac?
comment:11 Changed 9 years ago by
I cannot reproduce this issue issue any more. Can you check it guys?
comment:12 Changed 9 years ago by
I still see the issue by following those steps:
1.Type some word, e.g. test
2.press Enter key
3.Type some word again, e.g. test
4.Press Ctrl+Z (or undo toolbar button) to undo the last step
5.Hit Backspace so that cursor goes back to end of the first paragraph
6.Press spacebar or type some text
comment:13 Changed 9 years ago by
Above issue and the one from the description is still reproducible with FF@Win7. It's not reproducible on Mac though.
comment:14 Changed 9 years ago by
Summary: | Firefox: Incorrect cursor position on backspace → [FF] Incorrect cursor position on backspace |
---|
comment:15 Changed 9 years ago by
Summary: | [FF] Incorrect cursor position on backspace → [FF] Incorrect cursor position on Backspace |
---|
I can confirm it. Regression after 4.2.