Class wwWebHtmlEditor

Provides a very basic rich HTML Edit control for Internet Explorer only. For any other browser it displays a text box instead.

This control is lightweight and doesn't have any dependencies except to some images. For a more sophisticated soluion please check out the wwWebFckEditor controlwhich provides much richer editing and support for Mozilla style browsers.

The control inherits from wwWebTextBox and so inherits all of the TextBox's attributes including automatic PostBack and the ability to databind to a ControlSource directly. The control uses a hidden TextArea field to contain the actual HTML text entered into the rich control or the displays the text area for other browsers or when using Source View.

The edit view is presented in scope of the currently active stylesheet for the page so any style settings that the current page has is used within the control. The control is essentially an edit enabled <DIV> tag.

With the editor view in place you can do basic HTML editing tasks - like text markup and alignment, embedding of images and hyperlinks and drag and drop rich text from any source that handles HTML output (like Word or Office applications).

The control does not provide complex editing features such as built in table editing support and context menu support for many things.

There are a couple of limitations to this control:

  • Works in Internet Explorer 5.0 and later only
  • Only one of these controls can be placed on a single page
Custom
  wwWebTextBox
    wwWebHtmlEditor

Class Members

MemberDescription

ImagePath

The path where editor images are located. The editor requires that these images are present.

See also:

Class wwWebFckEditor

© West Wind Technologies, 1996-2019 • Updated: 06/20/07
Comment or report problem with topic