|
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?
|
|
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
|
|
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??
|
|
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
|
|