Ticket #6511: 6511.patch
File 6511.patch, 664 bytes (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
622 622 editor.contextMenu.addListener( function( element, selection ) 623 623 { 624 624 if ( !plugin.isScaytEnabled( editor ) 625 || selection.getCommonAncestor().isReadOnly() )625 || ( selection.getRanges().length && selection.getCommonAncestor().isReadOnly() ) ) 626 626 return null; 627 627 628 628 var scayt_control = plugin.getScayt( editor ),