fck spellerpages




Spell Check





var oEditor = window.parent.InnerDialogLoaded() ;
var FCKLang = oEditor.FCKLang ;

window.onload = function()
{
document.getElementById('txtHtml').value = oEditor.FCK.GetHTML() ;
var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ; oSpeller.OnFinished = oSpeller_OnFinished ; oSpeller.openChecker() ;
}

function OnSpellerControlsLoad( controlsWindow )
{
// Translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ;
}

function oSpeller_OnFinished( numberOCorrections )
{
if ( numberOCorrections > 0 )
oEditor.FCK.SetHTML( document.getElementById('txtHtml').value ) ;
window.parent.Cancel() ;
}









Wyszukiwarka

Podobne podstrony:
fck spellerpages
fck anchor
fck paste
fck template
fck radiobutton
fck anchor

więcej podobnych podstron