Welcome Guest Search | Active Topics | Sign In | Register

Spellchecker and editable label Options
mhorrell
Posted: Tuesday, November 8, 2011 11:11:44 AM
Rank: Member
Groups: Member

Joined: 11/2/2011
Posts: 10
Does spellchecker work with an editable label?? I thougth that it was working. It spell checks it but when you click in the editable label it reverts back.... What am I doing wrong?
eo_support
Posted: Tuesday, November 8, 2011 11:20:01 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Not directly. SpellChecker can correct anything on your page but it's a totally different matter to save the corrected text. Saving the corrected text automatically happens with a textbox and an EO.Editor control. For anything else, you will have to manually correct the corrected text through HTML DOM interface and JavaScript. The EditableLabel control only shows a textbox when it's active, so the SpellChecker is not really correcting the textbox's content (since the EditableLabel leaves edit mode as soon as it loses focus). Thus saving does not occur automatically.

Thanks
mhorrell
Posted: Tuesday, November 8, 2011 11:40:09 AM
Rank: Member
Groups: Member

Joined: 11/2/2011
Posts: 10
Thanks for the Reply... Is there an example out there of how to do that??
eo_support
Posted: Tuesday, November 8, 2011 11:46:07 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You would basically call document.getElementById to get the element and then get its inner HTML. We don't write sample code for this because this is generic JavaScript programming.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.