Ticket #3834: 3834_2.patch
File 3834_2.patch, 1.7 KB (added by , 14 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
416 416 } 417 417 } 418 418 419 var contextMenuTags = { thead : 1, tbody : 1, tfoot : 1, td : 1, tr : 1, th : 1 }; 420 419 421 CKEDITOR.plugins.tabletools = 420 422 { 421 423 init : function( editor ) … … 673 675 if ( !element ) 674 676 return null; 675 677 676 var isCell = !element.is( 'table' ) && element.hasAscendant( 'table' ) ; 677 678 if ( isCell ) 679 { 680 return { 681 tablecell : CKEDITOR.TRISTATE_OFF, 682 tablerow : CKEDITOR.TRISTATE_OFF, 683 tablecolumn : CKEDITOR.TRISTATE_OFF 684 }; 685 } 678 if ( element.getName() in contextMenuTags && element.hasAscendant( 'table' ) ) 679 { 680 return { 681 tablecell : CKEDITOR.TRISTATE_OFF, 682 tablerow : CKEDITOR.TRISTATE_OFF, 683 tablecolumn : CKEDITOR.TRISTATE_OFF 684 }; 685 } 686 686 687 687 return null; 688 688 } ); 689 689 } 690 690 }, -
CHANGES.html
44 44 <p> 45 45 Fixed issues:</p> 46 46 <ul> 47 <li><a href="http://dev.fckeditor.net/ticket/3834">#3834</a> : Context menu on table caption was incorrect.</li> 47 48 <li><a href="http://dev.fckeditor.net/ticket/3819">#3819</a> : The cursor was not visible 48 49 when applying style to collapsed selections in Firefox 2.</li> 49 50 <li><a href="http://dev.fckeditor.net/ticket/3809">#3809</a> : Fixed beam cursor