Ticket #4125: 4125_2.patch
File 4125_2.patch, 738 bytes (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
103 103 104 104 editor.on( 'beforeCommandExec', function( ev ) // Disable SCAYT before Source command execution. 105 105 { 106 107 if ( ev.data.name == 'removeFormat' && editor.mode == 'wysiwyg' ) 108 { 109 110 if (plugin.isScaytEnabled(editor)) 111 window.setTimeout(function(){plugin.getScayt(editor).refresh()},10); 112 113 } 106 114 if ( (ev.data.name == 'source' || ev.data.name == 'newpage') && editor.mode == 'wysiwyg' ) 107 115 { 108 116 var scayt_instanse = plugin.getScayt( editor );