Ticket #6155: 6155.patch
File 6155.patch, 892 bytes (added by , 14 years ago) |
---|
-
_source/plugins/table/dialogs/table.js
130 130 if ( this._.selectedElement ) 131 131 { 132 132 var selection = editor.getSelection(), 133 bms = editor.getSelection().createBookmarks();133 bms = selection.createBookmarks(); 134 134 } 135 135 136 136 var table = this._.selectedElement || makeElement( 'table' ), … … 177 177 for ( i = 0 ; i < theRow.getChildCount() ; i++ ) 178 178 { 179 179 var th = theRow.getChild( i ); 180 if ( th.type == CKEDITOR.NODE_ELEMENT ) 180 // Skip bookmark nodes. (#6155) 181 if ( th.type == CKEDITOR.NODE_ELEMENT && !th.hasAttribute( '_fck_bookmark' ) ) 181 182 { 182 183 th.renameNode( 'th' ); 183 184 th.setAttribute( 'scope', 'col' );