Index: editors/js/ckeditor-3.0.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/wysiwyg/editors/js/ckeditor-3.0.js,v
retrieving revision 1.2.4.6
diff -u -p -r1.2.4.6 ckeditor-3.0.js
--- editors/js/ckeditor-3.0.js	18 Dec 2010 18:24:32 -0000	1.2.4.6
+++ editors/js/ckeditor-3.0.js	19 Dec 2010 23:34:33 -0000
@@ -109,6 +109,17 @@ Drupal.wysiwyg.editor.attach.ckeditor = 
         });
       }
     },
+
+    selectionChange: function (event) {
+      $.each(Drupal.settings.wysiwyg.plugins[params.format].drupal, function (name, plugin) {
+        if ($.isFunction(plugin.isNode)) {
+          var node = event.data.selection.getSelectedElement();
+          var state = plugin.isNode(node ? node.$ : null) ? CKEDITOR.TRISTATE_ON : CKEDITOR.TRISTATE_OFF;
+          event.editor.getCommand(name).setState(state);
+        }
+      });
+    },
+
     focus: function(ev) {
       Drupal.wysiwyg.activeId = ev.editor.name;
     }
