Opened 12 years ago
Closed 11 years ago
#7618 closed enhancement (wontfix)
[cla][patch] Spell cheker for all king of input/richEditor
Reported by: | iDo | Owned by: | dante |
---|---|---|---|
Priority: | high | Milestone: | future |
Component: | DojoX Widgets | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
it's a spell checker which work with all input and all iframe. eg: you can use it with textarea, dijit.from.TextArea?, dijit.Editor, etc...
Attachments (7)
Change History (15)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Milestone: | tbd → future |
---|---|
Status: | new → assigned |
moving to future for now. ido: are these the most recent patches? I know you've been working on some stuff still ...
comment:3 Changed 12 years ago by
Yep, this is the latest version. I'm working on integrate it in a dijit.Editor plugin.
comment:4 Changed 12 years ago by
@dante : here you have the version which work in plugin of dijit.Editor. For this mode, you have to add something like "aspell:'spellchecker.php'" in djConfig
Changed 12 years ago by
Attachment: | SpellCheck.2.js added |
---|
the code of the widget (add leftClickToOpen params)
comment:5 Changed 12 years ago by
note : use only zip file (ignore others)
(is there a way to delete files ?)
comment:6 Changed 12 years ago by
Hi, I am trying to use your script (SpellCheck?.js) for a J2EE server (Weblogic, WebSphere?). I see that in your example, you require user to include "spellcheck.php". How can I translate that over in a J2EE environment?
comment:7 Changed 12 years ago by
spellcheck.php is quite simple. It call an unix binarie (aspell) and parse result. Parsing result should print something like that :
{response:[ { mot :"tun", offset:8, length:3, suggestion:["tune","tub","tu","un","tus","Sun","ton","tua","tue","tuf","tut","tué","tût","d'un","l'un"] },{ mot :"tesst", offset:12, length:5, suggestion:["tests","test","t'est","testa","teste","testé","est","lests","d'est","lest","t'es-tu","t'eusse","t'eut","t'eût","c'est","l'est","m'est","n'est","s'est"] } ]}
comment:8 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
I would suggest creating this as a 3rd-party-like product with various server implementations. ideally as part of the dojox decouple.
example available here : http://ben.dojotoolkit-fr.org/test_SpellCheck.html