Ticket #7618 (closed enhancement: wontfix)

Opened 23 months ago

Last modified 12 days ago

[cla][patch] Spell cheker for all king of input/richEditor

Reported by: iDo Owned by: dante
Priority: normal Milestone: future
Component: DojoX Widgets Version:
Severity: normal Keywords:
Cc:

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

SpellCheck.js (71 bytes) - added by iDo 22 months ago.
i18n bundle
test_SpellCheck.html (5.0 kB) - added by iDo 22 months ago.
test file
spellcheck.gif (0.9 kB) - added by iDo 22 months ago.
icon for plugin button
SpellCheck.3.js (2.4 kB) - added by iDo 22 months ago.
plugin file for dijit.Editor
spellcheck.php (3.5 kB) - added by iDo 21 months ago.
php exemple (utf-8 bug fix)
SpellCheck.2.js (12.4 kB) - added by iDo 20 months ago.
the code of the widget (add leftClickToOpen params)
spellcheck.zip (8.0 kB) - added by iDo 18 months ago.
review of style guide

Change History

Changed 23 months ago by iDo

Changed 23 months ago by dante

  • status changed from new to assigned
  • milestone changed from tbd to future

moving to future for now. ido: are these the most recent patches? I know you've been working on some stuff still ...

Changed 22 months ago by iDo

Yep, this is the latest version. I'm working on integrate it in a dijit.Editor plugin.

Changed 22 months ago by iDo

i18n bundle

Changed 22 months ago by iDo

test file

Changed 22 months ago by iDo

icon for plugin button

Changed 22 months ago by iDo

plugin file for dijit.Editor

Changed 22 months ago by iDo

@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 21 months ago by iDo

php exemple (utf-8 bug fix)

Changed 20 months ago by iDo

the code of the widget (add leftClickToOpen params)

Changed 18 months ago by iDo

review of style guide

Changed 18 months ago by iDo

note : use only zip file (ignore others)

(is there a way to delete files ?)

Changed 15 months ago by ontak

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?

Changed 14 months ago by iDo

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"]
	}
]}

Changed 12 days ago by dante

  • status changed from assigned to closed
  • resolution set to wontfix

I would suggest creating this as a 3rd-party-like product with various server implementations. ideally as part of the dojox decouple.

Note: See TracTickets for help on using tickets.