Ticket #8055: 8055.patch
File 8055.patch, 863 bytes (added by , 14 years ago) |
---|
-
_source/plugins/table/dialogs/table.js
523 523 { 524 524 var caption = nodeList.getItem( 0 ); 525 525 526 var innerHtml = caption.getHtml().replace(/<br>\s*$/i, ''), 527 innerText = caption.getText(); 528 529 if ( innerHtml != innerText ) 526 var firstElementChild = caption.getFirst( CKEDITOR.dom.walker.nodeType( CKEDITOR.NODE_ELEMENT ) ) 527 if ( firstElementChild && !firstElementChild.equals( caption.getBogus() ) ) 530 528 { 531 529 this.disable(); 532 this.setValue( innerText);530 this.setValue( caption.getText() ); 533 531 return; 534 532 } 535 533