Enable/Disable SpellCheck

pinEdit WP

Enable/Disable SpellCheck


JDL 09-10-2008, 6:57
I'm using the EditorControl.Execute("editSpell(bool)") to turn SpellCheck on and off. This seems to work, but the button on the toolbar does change. Shouldn't this toggle the button based on the setting? If not, what method can I use to set it? Thanks

Re: Enable/Disable SpellCheck


Pintexx Support 09-11-2008, 2:47
Hello,

please try this:

editor.execute("editGetToolbar('TOP').getElementByTag('SPELL').setStatus(true/false)")

Regards,
Hans-Peter