From a5a85e7b310371461e81a2e4a2805d5b014c7e70 Mon Sep 17 00:00:00 2001 From: Piotr Jasiun Date: Wed, 6 Nov 2013 16:37:12 +0100 Subject: [PATCH 1/2] Check next.type before next.is( 'table' ). --- core/editable.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/editable.js b/core/editable.js index a09f8d1cacd..db5913c8ebd 100644 --- a/core/editable.js +++ b/core/editable.js @@ -566,6 +566,7 @@ // 2. Backspace Key after start of table. if ( ( block = path.block ) && ( next = block[ rtl ? 'getPrevious' : 'getNext' ]( isNotWhitespace ) ) && + ( next.type == CKEDITOR.NODE_ELEMENT ) && next.is( 'table' ) && range[ rtl ? 'checkStartOfBlock' : 'checkEndOfBlock' ]() ) { From 566e915241577a5042799fbba15422dfd91f041a Mon Sep 17 00:00:00 2001 From: Piotr Jasiun Date: Wed, 6 Nov 2013 16:51:20 +0100 Subject: [PATCH 2/2] Changelog entry. --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 5da46ed0151..c17c2db9ed8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,8 @@ Fixed Issues: * [#10975](http://dev.ckeditor.com/ticket/10975): [IE] Fixed: Error thrown while opening color palette. * [#9929](http://dev.ckeditor.com/ticket/9929): [Blink/Webkit] Fixed: A non-breaking space is created once deleted a character and a regular space is typed. * [#10963](http://dev.ckeditor.com/ticket/10963): Fixed: JAWS issue with keyboard shortcut for Magicline. +* [#11096](http://dev.ckeditor.com/ticket/11096): Fixed: TypeError: Object has no method 'is'. + ## CKEditor 4.2.2