Ticket #980 (new New Feature)
API - I want a value to be able to tell me if the SpellChecker has been run or not.
| Reported by: | ajos1 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Confirmed | Cc: |
Description
-
I think this request could be easily achieved.
I use the API system and most useful it is too!
I want a value to be able to tell me if the SpellChecker has been run or not. (or it could be a count of how many times it has been run... which might be better).
Personally... I plan to use the value... so if the Spellcheck has not been run... then I will stop them from saving the record... until they have ran it at least once.
(ie)...
var oFCKeditor = new FCKeditor('example_field_name');
Initially
oFCKeditor.SpellCheckerHasBeenRun would have a value of 0
If spellcheck is then run... then...
oFCKeditor.SpellCheckerHasBeenRun would have a value of 1
If it is ran again...
oFCKeditor.SpellCheckerHasBeenRun would have a value of 2