Opened 9 years ago
Last modified 9 years ago
#14654 confirmed Bug
[Webkit/Blink] Empty line is removed when changing selection after inline widget removal.
Reported by: | kkrzton | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- Go to http://ckeditor.com/demo#widgets.
- Scroll to Mathematical Formulas example.
- Focus first formula.
- Remove (e.g. using delete key).
- Move caret from empty line somewhere else in the editor (using up/down arrows or mouse).
Expected result
The empty line is not removed even after caret is moved.
Actual result
The empty line is removed after caret is moved.
Other details (browser, OS, CKEditor version, installed plugins)
Tested on Chrome (50) and Safari (9.1) with CKEditor 4.5.9.
Slightly different use case:
After removing widget, click outside the editor (nothing happens - empty line stays were it was). Line is removed when editor gains focus again (even if you try to focus on the exact same empty line).