Opened 12 years ago
Closed 8 years ago
#9454 closed Bug (duplicate)
Appending a row to a table via TAB key incorrectly handles rowspan'd cells
Reported by: | Vladimri S. | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Tables | Version: | 3.4 |
Keywords: | Cc: |
Description
When cursor is in the last cell of a table (more that 1 column), pressing TAB appends new <tr></tr> element to the table, but does not fill it with the respective number of <td></td> elements, which visually results in creating a row with only one cell.
Change History (3)
comment:1 Changed 12 years ago by
Summary: | Uncertain behaviour of TAB key in table → Appending a row to a table via TAB key incorrectly handles rowspan'd cells |
---|
comment:2 Changed 12 years ago by
Keywords: | ui table keyboard shortcuts removed |
---|---|
Status: | new → confirmed |
Version: | 3.6.4 → 3.4 |
Problem has been reproducible from CKEditor 3.4 (when creating new row with tab was introduced). It is also reproducible in CKEditor 4.x (v4)
To reproduce:
- Insert below code into Source and switch to WYSIWYG
<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;"> <tbody> <tr> <td>11</td> <td>12</td> <td>13</td> </tr> <tr> <td>21</td> <td>22</td> <td>23</td> </tr> <tr> <td>31</td> <td>32</td> <td>33</td> </tr> </tbody> </table>
- Put cursor in cell23 and merge down with cell 33
- Pressing tab in newly created cell will move you to cell 31, so either tab to cell 32 or click on it
- Press tab
Result: Row wit n-1 cell gets created (two in this case)
comment:3 Changed 8 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
I'm closing this ticket in favour of #14632. The later mentions one more TC.
FIX: This bug appears only when the last row is broken apart by/is adjacent to a rowspan'd cell.