JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2.1
[ckeditor.git] / _source / plugins / tabletools / dialogs / tableCell.js
index 074ee83..c970727 100644 (file)
@@ -515,9 +515,14 @@ CKEDITOR.dialog.add( 'cellProperties', function( editor )
                        },\r
                        onOk : function()\r
                        {\r
+                               var selection = this._.editor.getSelection(),\r
+                                       bookmarks = selection.createBookmarks();\r
+\r
                                var cells = this.cells;\r
                                for ( var i = 0 ; i < cells.length ; i++ )\r
                                        this.commitContent( cells[ i ] );\r
+\r
+                               selection.selectBookmarks( bookmarks );\r
                        }\r
                };\r
        } );\r