Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

Editor Object

Client side representation of an Editor control.

Base Object

Editor derives from Control and inherits all method provided by Control.

Methods

browseFile Opens the browse file dialog.
closeDialog Closes the current dialog.
execCommand Executes a pre-defined command.
execDialogCommand Executes a command associated with a dialog.
getBody Returns the body element for the editor document.
getCurrentElement Returns the DHTML element that contains the edit point.
getHtml Returns the current editor contents.
getSelection Gets the current selected text.
getText Returns the editor contents as plain text with HTML tags removed.
setFontSize Applies the specified font size.
setHtml Sets the current editor contents.
setMode Change editor mode.
setStyle Applies the specified inline CSS style.
setStyleName Applies one of the named styles.

Direct link to this topic