Scriptable Editing
This documentation will get you started with the basic features needed to expose rich, editable HTML content to your users.
Overviews/Tutorials
How to Create an HTML Editor ApplicationThis tutorial describes how to use features found in Microsoft Internet Explorer 5.5 or later to create an HTML Editor Application. The application you create in this tutorial contains an editable region where users can type and format text using all of the standard formatting commands.
Attributes/Properties
ATOMICSELECTIONSpecifies whether the element and its contents must be selected as a whole, indivisible unit.
canHaveHTMLGets or sets the value indicating whether the object can contain rich HTML markup.
contentEditableSets or retrieves the string that indicates whether the user can edit the content of the object.
isContentEditableGets the value that indicates whether the user can edit the contents of the object.
isMultiLineRetrieves the value indicating whether the content of the object contains one or more lines.
UNSELECTABLESpecifies that an element cannot be selected.
Events
oncontrolselectFires when the user is about to make a control selection of the object.
onselectionchangeFires when the selection state of a document changes.
Constants
2D-PositionAllows absolutely positioned elements to be moved by dragging.
AbsolutePositionSets an element's position property to "absolute."
LiveResizeCauses the MSHTML Editor to update an element's appearance continuously during a resizing or moving operation, rather than updating only at the completion of the move or resize.
MultipleSelectionAllows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.