Page 1 of 1

text editor

Posted: Sat Apr 01, 2006 2:05 am
by anky666
Hi

I need to add text editor in my Text box. Does anybody have an idea...how can I do that. I think there is a text editor in Java...but I am not sure..

for example... I am typing text in this post.... I can edit this post as well...like I can make somethings bold, and some italics... and change fonts.

Please help.

Posted: Sat Apr 01, 2006 5:32 am
by feyd
Are you wanting WYSIWYG/RTF or some other plain text parsing that makes certain "tags" alter the output?

For the first: fckEditor and TinyMCE are popular.
For the latter: there are a multitude of bbcode parsing functions and classes out there search around.

Posted: Sat Apr 01, 2006 12:55 pm
by anky666
i need to make certain text looks bold...and certain italics....and some in other form. I think first will do... do u haved any idea... where can i get that code.

Thanks fr ur reply.
ankur

Posted: Sat Apr 01, 2006 12:57 pm
by John Cartwright
try googling them... :roll:

Posted: Sat Apr 01, 2006 1:02 pm
by s.dot
you could always use BBCode (like these forums)

or some sort of cool ajax realtime form submission onKeyPress type thing

htmlarea is fine

Posted: Sun Apr 02, 2006 5:53 am
by dibyendrah

Posted: Sun Apr 02, 2006 2:46 pm
by Ambush Commander
Linky link.

I'd suggest going with BBCode. HTML parsing is a thorny issue.

Posted: Sun Apr 02, 2006 11:00 pm
by anky666
but I am not able to see the code..please help.

Posted: Sun Apr 02, 2006 11:44 pm
by RobertGonzalez
Go to http://www.google.com and type in either of the following terms...

TinyMCE
FCKEditor

These will do exactly what you want. HTMLArea is another decent app, but it is not supported anymore.