Ticket #3834: 3834.patch
File 3834.patch, 2.0 KB (added by , 15 years ago) |
---|
-
_source/plugins/tabletools/plugin.js
674 674 if ( !element ) 675 675 return null; 676 676 677 var isCell = !element.is( 'table' ) && element.hasAscendant( 'table' ) ; 677 var contextMenuTags = { thead : 1, tbody : 1, tfoot : 1, td : 1, tr : 1, th : 1 }; 678 var tagName = element.getName(); 678 679 679 if ( isCell ) 680 { 681 return { 682 tablecell : CKEDITOR.TRISTATE_OFF, 683 tablerow : CKEDITOR.TRISTATE_OFF, 684 tablecolumn : CKEDITOR.TRISTATE_OFF 685 }; 686 } 680 var showContextMenu = tagName in contextMenuTags && element.hasAscendant( 'table' ); 681 682 if ( showContextMenu ) 683 { 684 return { 685 tablecell : CKEDITOR.TRISTATE_OFF, 686 tablerow : CKEDITOR.TRISTATE_OFF, 687 tablecolumn : CKEDITOR.TRISTATE_OFF 688 }; 689 } 687 690 688 691 return null; 689 692 } ); 690 693 } 691 694 } -
CHANGES.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 2 <!-- 3 3 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. 4 4 For licensing, see LICENSE.html or http://ckeditor.com/license … … 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 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 </ul>