Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A good rich text editor (pure JS based)

 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Let say spell checker enabled or ready, when it has an option to add a spell checker.
 
Yuriy Fuksenko
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is another one I like:
http://www.dynarch.com/projects/htmlarea/
 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic