Ticket #5632: 5632.patch
File 5632.patch, 1.1 KB (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
46 46 oParams.customDictionaryIds = editor.config.scayt_customDictionaryIds || ''; 47 47 oParams.userDictionaryName = editor.config.scayt_userDictionaryName || ''; 48 48 oParams.sLang = editor.config.scayt_sLang || 'en_US'; 49 49 50 // Introduce SCAYT onLoad call back (#5572 and #5466 tickets) 51 oParams.onLoad = function() 52 { 53 // Set up markup decoration to avoid conflicts with ckeditor service markup( 5466 ticket ) 54 if(CKEDITOR.env.ie && CKEDITOR.env.version>7) 55 this.addStyle(this.selectorCss(), 'padding-bottom: 2px !important;'); 56 }; 57 50 58 oParams.onBeforeChange = function() 51 59 { 52 60 if ( !editor.checkDirty() ) 53 61 setTimeout( function(){ editor.resetDirty(); } ); 54 62 }; 55 63 56 64 var scayt_custom_params = window.scayt_custom_params; 57 65 if ( typeof scayt_custom_params == 'object') 58 66 {