text editor

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anky666
Forum Newbie
Posts: 9
Joined: Fri Mar 31, 2006 3:00 am

text editor

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
anky666
Forum Newbie
Posts: 9
Joined: Fri Mar 31, 2006 3:00 am

Post 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
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

try googling them... :roll:
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

you could always use BBCode (like these forums)

or some sort of cool ajax realtime form submission onKeyPress type thing
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

htmlarea is fine

Post by dibyendrah »

User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Linky link.

I'd suggest going with BBCode. HTML parsing is a thorny issue.
anky666
Forum Newbie
Posts: 9
Joined: Fri Mar 31, 2006 3:00 am

Post by anky666 »

but I am not able to see the code..please help.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
Post Reply