Opened 14 years ago
Closed 11 years ago
#7119 closed Bug (fixed)
Cursor skipping additional character after contentEditable="false"
Reported by: | Dinu | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Read-only | Version: | 3.3 |
Keywords: | IBM | Cc: | satya_minnekanti@… |
Description ¶
Assumption:
- arrows, backspace and del should work around contenteditable spans
- no wrong refactoring should be due to CK
Test:
1) Set contents to
ABCD<span contenteditable="false">EFGH</span>IJKL
Problems:
Firefox: arrows move caret one character off, effectively skipping one extra character; backspace doesn't work on span, del works but removes one extra character
2) Set contents to
ABCD<span contenteditable="false">EF<span contenteditable="true">12</span>GH</span>IJKL
Problems:
Webkit: Placing caret after F or H and hit backspace, or before E or G and press Del, strange refactoring occurs.
IE: cursor can't enter or leave inner span using arrows; probably browser related
Firefox: ditto
(Unrelated yet related): API demo seems broken in Opera, can't set editor contents. Will try later.
I'm not sure if I needed to create separate tickets, seems that since the test case is this specific functionality (have keyboard operations work on contenteditable areas), should all go in one place.
Change History (4)
comment:1 Changed 14 years ago by
Component: | General → Core : Read-only |
---|---|
Status: | new → confirmed |
Summary: | New oddities concerning contenteditable in 3.5.1 → Cursor skipping additional character after contentEditable="false" |
Version: | 3.5.1 → 3.3 |
comment:2 Changed 14 years ago by
The webkit refactoring doesn't seem connected to the cursor skipping peculiarities...
comment:3 Changed 14 years ago by
Cc: | satya_minnekanti@… added |
---|---|
Keywords: | IBM added |
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Confirmed. Second test case, under IE and Firefox are related to first, where cursor skips one character. Because it is a bug which also occurs in previous versions of CKEditor, I changed Summary of this ticket.