From 094859c0a9c7a5d55458571c7f3333fbd47d3ecb Mon Sep 17 00:00:00 2001 From: Piotr Jasiun Date: Wed, 12 Mar 2014 17:33:30 +0100 Subject: [PATCH 1/2] Update state of rich combo on selection changes. --- plugins/richcombo/plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); From ca2a3b002212613762a2f10cd137c02f1feb34f5 Mon Sep 17 00:00:00 2001 From: Piotr Jasiun Date: Fri, 14 Mar 2014 11:13:16 +0100 Subject: [PATCH 2/2] Changelog entry. --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) 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