Ticket #8257: tableCell.patch
File tableCell.patch, 1.1 KB (added by , 13 years ago) |
---|
-
tableCell.js
old new 382 382 selectedCell.removeAttribute( 'colSpan' ); 383 383 } 384 384 }, 385 { 386 type : 'text', 387 id : 'cssClass', 388 label : editor.lang.common.cssClass, 389 'default' : '', 390 setup : function( selectedCell ) 391 { 392 this.setValue( selectedCell.getAttribute( 'class' ) || '' ); 393 }, 394 commit : function( selectedCell ) 395 { 396 if ( this.getValue() ) 397 selectedCell.setAttribute( 'class', this.getValue() ); 398 else 399 selectedCell.removeAttribute( 'class' ); 400 } 401 }, 385 402 spacer, 386 403 { 387 404 type : 'hbox',