Opened 8 years ago
Last modified 8 years ago
#14872 confirmed Bug
[Firefox] Insert cell before then after
Reported by: | Tomasz Jakut | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.5.0 |
Keywords: | Cc: |
Description
Steps to reproduce
- Open http://ckeditor.com/demo#full.
- Open source mode and paste:
<table border="1"> <tbody> <tr> <td>Cell 1.1</td> <td>Cell 1.2</td> </tr> </tbody> </table>
- Switch back to WYSIWYG mode.
- Select both cells.
- Click right menu button. Choose "Cell" → "Insert Cell Before".
- Click right menu button once more. Choose "Cell" → "Insert Cell After".
Expected result
- The first new cell is inserted at the beginning.
- The second new cell is inserted after the first cell.
Actual result
- The second new cell is inserted before the first cell.
It seems to be caused by the fact that the selection's offsets after inserting new cell are not updated and pointing to the new cell instead of the existing one.
Other details (browser, OS, CKEditor version, installed plugins)
Firefox 48.0 on Ubuntu 16.04