diff --git a/CHANGES.md b/CHANGES.md index 476ce80b48c..e159f9a2f48 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,6 +14,7 @@ Fixed Issues: * [#11635](http://dev.ckeditor.com/ticket/11635): Fixed: Some attributes are not protected before content is passed through fix bin. * [#11660](http://dev.ckeditor.com/ticket/11660): [IE] Fixed: Content of a table is lost when there is some extra markup inside a table. * [#11641](http://dev.ckeditor.com/ticket/11641): Fixed: Switching between modes in framed editor removes content styles for inline editor. +* [#11568](http://dev.ckeditor.com/ticket/11568): Fixed: Style list does not enable on selection change. ## CKEditor 4.3.3 diff --git a/plugins/richcombo/plugin.js b/plugins/richcombo/plugin.js index 36437e24df6..d3d07c45bf1 100644 --- a/plugins/richcombo/plugin.js +++ b/plugins/richcombo/plugin.js @@ -174,9 +174,10 @@ CKEDITOR.plugins.add( 'richcombo', { this.refresh(); } - // Update status when activeFilter, mode or readOnly changes. + // Update status when activeFilter, mode, selection or readOnly changes. editor.on( 'activeFilterChange', updateState, this ); editor.on( 'mode', updateState, this ); + editor.on( 'selectionChange', updateState, this ); // If this combo is sensitive to readOnly state, update it accordingly. !this.readOnly && editor.on( 'readOnly', updateState, this );