Cross-Browser Rich Text Editor

PscContestWinner

The cross-browser rich-text editor implements the Mozilla Rich Text Editing API included with Mozilla 1.3+. There is NO LICENSE, so just take the code and use it for any purpose. This code is 100% free. Enjoy!

For frequently asked question and support, please visit http://www.kevinroth.com/forums/index.php?c=2

Requires: IE5+/Mozilla 1.3+/Mozilla Firebird/Firefox 0.6.1+/Netscape 7.1+ for all rich-text features to function properly. If browser does not support rich-text, it should display a standard textarea box.

Source: rte.zip, rte.tar.gz
Included in the zip are HTML, ASP, and PHP demos. Also, here is an html demo showing multiple RTEs on one page.

Change Log: changelog.txt

If you feel that the work I've done has value to you, I would greatly appreciate a paypal donation (click button below). Another way you can help me out is to sign up for a free flat screen, to help me get mine. Again, I am very grateful for any and all contributions.

Click submit to show the value of the text box.

ing = str_replace(chr(146), chr(39), $tmpString); $tmpString = str_replace("'", "'", $tmpString); //convert all types of double quotes $tmpString = str_replace(chr(147), chr(34), $tmpString); $tmpString = str_replace(chr(148), chr(34), $tmpString); // $tmpString = str_replace("\"", "\"", $tmpString); //replace carriage returns & line feeds $tmpString = str_replace(chr(10), " ", $tmpString); $tmpString = str_replace(chr(13), " ", $tmpString); return $tmpString; } ?>