Ticket #5701: 5701.patch
File 5701.patch, 901 bytes (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
172 172 plugin.setControlId( editor, scayt_instance.id ); 173 173 scayt_instance.destroy( true ); 174 174 }); 175 175 176 // Refresh SCAYT on Enter key down in IE 177 editor.document.on( 'keydown', function( event ) 178 { 179 if ( plugin.isScaytEnabled( editor ) && CKEDITOR.env.ie && event.data.$.keyCode == 13) { 180 window.setTimeout( function() 181 { 182 var instance = plugin.getScayt( editor ); 183 instance && instance.refresh(); 184 }, 10 ); 185 } 186 }); 187 176 188 // Listen to data manipulation to reflect scayt markup. 177 189 editor.on( 'afterSetData', function() 178 190 {