Ticket #8916 (closed Bug: fixed)
Safari: Press delete button in an empty cell deleting empty Rows below current row
| Reported by: | satya | Owned by: | garry.yao |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.0 |
| Component: | Core : Keystrokes | Version: | |
| Keywords: | IBM Webkit | Cc: | damo, tmonahan |
Description
To reproduce the defect:
- Open any CK Editor sample and insert a table with default values(3 Rows & 2 Columns).
- Don't enter any content in second or third rows.
- Enter the content in first cell in first row, leave second cell in first row empty.
- Keep cursor in the Second cell on first row & press Delete
Issue: Second row is deleted
- Press Delete again..
Issue: Next empty row gets deleted
Change History
comment:1 Changed 14 months ago by j.swiderski
- Keywords Webkit added
- Status changed from new to confirmed
comment:3 Changed 14 months ago by j.swiderski
Just a guess but perhaps #8471 has the same cause for this behavior.
comment:4 Changed 14 months ago by j.swiderski
What is the plan to resolve this ticket?
As discussed with senior developers - This one will be aimed for v4 only, it's just complex for this release.
comment:5 Changed 10 months ago by garry.yao
- Owner set to garry.yao
- Status changed from confirmed to assigned
- Component changed from General to Core : Keystrokes
- Milestone set to CKEditor 4.0
comment:6 Changed 10 months ago by garry.yao
- Status changed from assigned to review
Opened t/8916: Backspace/Del keystrokes are now handled at the boundary of table cells, to move cursor.
comment:7 Changed 10 months ago by Reinmar
I pushed rebased branch + small coding style fix.
Del/backspace behaviour is fixed on Webkits.
In the code I see that this fix is generic and I wonder if it shouldn't affect also IEs? I also think that this change may deserve a new TC.
comment:8 Changed 10 months ago by fredck
- Status changed from review to review_passed
Making the change for all browsers makes sense, as it guarantees a unified behaviour among them, no matter their default behaviour. Considering that we're have that code for a single browser anyway, it is safe to just enlarge it to others.
I'm still not a big fan of making DEL a movement key. I prefer the IE behaviour for this TC, where nothing happens in this case.
Anyway, the proposed behaviour is "acceptable". Let's see if people will complain about it.

Reproducible in Webkit from CKEditor 3.0
Notes: