Jump to content

Archived

This topic is now archived and is closed to further replies.

ibanez270dx

Formatting Tools for Textarea

Recommended Posts

Hi,
How can I add formatting tools to my textarea like the ones here on PHP Freaks? You know, when you post a new thread or reply or whatever, and there are buttons above the textarea that do different things...?

Thanks,
- Jeff

Share this post


Link to post
Share on other sites
You want a WYSIWYG (what you see is what you get) editor?  I believe it has to do with Javascript. I don't know for sure but I've always wanted to look into it myself.

Share this post


Link to post
Share on other sites
Try google Javascript Rich Text Editors or Javascript WYSIWYG editors. You should get a lot of choices.

EDIT: freakus_maximus, nice find!

Share this post


Link to post
Share on other sites
tinymce is argueably the most feature rich, however, it isn't the only one.  FCKeditor (http://www.fckeditor.net/), Dojo (http://dojotoolkit.org/), Kupu (http://kupu.oscom.org/), and many others are available.

Be careful using these, as many of them are VERY large (I think tinymce is about 2 MB in all), so if a lot of your users have dialup, then they will hate it.  It can also eat up bandwidth quickly.  Caching will help some, but not enough if you have a good number of visitors.

Share this post


Link to post
Share on other sites
I've used KTML from InterAkt online. The 4.0 version is free to download (after a account activation :-( )
http://www.interaktonline.com/Downloads/Free-Products/

it has worked well for smaller gigs thus far.
Cheers!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.