Logo Home | Community | Developer's Paradise | Jobs
User Groups | Site Tools | Site Information | Search

Inside Technique : WYSIWYG HTML Editor
By Scott Isaacs

In this article, we show you how to add a self-contained, programmable WYSIWYG HTML editor to your web-page in under 2K of code. This editor takes advantage of the editing capabilities built into Internet Explorer 4.0 additional, Using this editor requires no additional install and can be easily used as an input control on your HTML forms.

With Internet Explorer 4, try the textbox below. Notice that when you are within the textbox, a formatting toolbar is automatically displayed. When you leave the textbox, the toolbar automatically disappears.

The editor demo requires Internet Explorer 4+

This editor is created with functionality built into Internet Explorer 4.0! Next we introduce you to the designMode property that turns your browser into an editor.