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.8 diff -u -p -r1.2.4.8 ckeditor-3.0.js --- editors/js/ckeditor-3.0.js 20 Dec 2010 03:42:54 -0000 1.2.4.8 +++ editors/js/ckeditor-3.0.js 22 Dec 2010 04:01:58 -0000 @@ -169,8 +169,7 @@ Drupal.wysiwyg.editor.instance.ckeditor exec: function (editor) { var data = { format: 'html' }; var selection = editor.getSelection(); - if (selection) { - data.node = selection.getSelectedElement(); + if (selection && (data.node = selection.getSelectedElement())) { if (selection.getType() == CKEDITOR.SELECTION_TEXT) { if (CKEDITOR.env.ie) { data.content = selection.getNative().createRange().text;