diff --git a/CHANGES.md b/CHANGES.md index f2ebbb117a3..ceffa1defad 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ CKEditor 4 Changelog Fixed Issues: * [#10994](http://dev.ckeditor.com/ticket/10994): Fixed: loading external jQuery when opening adapter sample from file. +* [#10975](http://dev.ckeditor.com/ticket/10975): [IE] Fixed: Error thrown while opening color palette. ## CKEditor 4.2.2 diff --git a/plugins/colorbutton/plugin.js b/plugins/colorbutton/plugin.js index 3058b0240a9..3759681520d 100644 --- a/plugins/colorbutton/plugin.js +++ b/plugins/colorbutton/plugin.js @@ -70,6 +70,9 @@ CKEDITOR.plugins.add( 'colorbutton', { path = editor.elementPath( block ), color; + if ( !path ) + return; + // Find the closest block element. block = path.block || path.blockLimit || editor.document.getBody();