Cross-Browser Rich Text Editor


The cross-browser rich-text editor (RTE) is based on the designMode() functionality introduced in Internet Explorer 5, and implemented in Mozilla 1.3+ using the Mozilla Rich Text Editing API. The cross-browser rich-text editor now includes table support (as of 2/10/2005) as well as an option to generate xhtml-compliant code (as of 2/24/2005).

This code is public domain. Redistribution and use of this code, with or without modification, is permitted.

For frequently asked question and support, please visit

Requires: IE5+/Mozilla 1.3+/Mozilla Firebird/Firefox 0.6.1+/Netscape 7.1+, or any other browser that fully supports designMode() for all rich-text features to function properly. All other browsers will display a standard textarea box instead.

Source:, 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.