Skip to content

Commit

Permalink
Merge branch 't/10890'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Dec 3, 2013
2 parents 4b1b0b6 + 694f5fe commit 58b6b95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -16,6 +16,7 @@ Fixed Issues:
* [#11182](http://dev.ckeditor.com/ticket/11182): [Internet Explorer 10-11] Fixed: Editor crashes (IE11) or works with minor issues (IE10) if page is loaded in Quirks Mode. See [`env.quirks`](http://docs.ckeditor.com/#!/api/CKEDITOR.env-property-quirks) for more details.
* [#11204](http://dev.ckeditor.com/ticket/11204): Added `figure` and `figcaption` styles to `contents.css` so [Enhanced Image](http://ckeditor.com/addon/image2) looks nicer.
* [#11202](http://dev.ckeditor.com/ticket/11202): Fixed: No newline at BB-code mode.
* [#10890](http://dev.ckeditor.com/ticket/10890): Fixed: Error thrown when pressing *Delete* key in a list item.

## CKEditor 4.3

Expand Down
4 changes: 4 additions & 0 deletions plugins/list/plugin.js
Expand Up @@ -780,6 +780,10 @@
nextPath = nextCursor.startPath();
nextBlock = nextPath.block;

// Abort when nothing to be removed (#10890).
if ( !nextBlock )
break;

// Check if also to remove empty list.
if ( nextBlock.is( 'li' ) ) {
parent = nextBlock.getParent();
Expand Down

0 comments on commit 58b6b95

Please sign in to comment.