This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes A good rich text editor (pure JS based) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "A good rich text editor (pure JS based)" Watch "A good rich text editor (pure JS based)" New topic
Author

A good rich text editor (pure JS based)

dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
I'm looking for pure JS implementation (no activex). Connection to check spell program especially Ajax based is desirable. Another feature I'd like to see using right mouse menu for text formatting command.


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you are talking spell check, you are going to have to have a server side language for this. Plus I have not sen a free one that has had spell check and was worth using.

Eric
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
Let say spell checker enabled or ready, when it has an option to add a spell checker.
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Really speaking most todays RTE implementations are very easy, all you need to do is to use designMode property, and provide some means change text style, that becames like one line event handlers.

Kevin Roth has a very nice element
http://www.kevinroth.com/rte/demo.htm
Script for this element is very simple, look at it to learn how it works. It is much easier that it sounds
This element requires ieSpell to do spellcheck, but you can change it to use Yahoo webservices or you own serverside implementation.

Another way to implement RTE is hard and unconvinient, but compatible with lots of old browser. I have not seen any "production ready" implementations, but you can look at the idea at
http://www.webreference.com/programming/javascript/gr/column11/index.html
http://www.webreference.com/programming/javascript/gr/column12/index.html
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
Thank you Юрий it looks like I was looking for. The problem is not in implementing, the problem is to do not spend time on implementation something already implemented.
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
There is another one I like:
http://www.dynarch.com/projects/htmlarea/
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
Wow! It's better fit to my requirements. I have multiple text areas, some static, some dynamic created.

After speaking with co-workers I got very good list of RTEs:
http://www.geniisoft.com/showcase.nsf/WebEditors
[ February 02, 2006: Message edited by: dema rogatkin ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A good rich text editor (pure JS based)