Scriptable Editing Reference
This section contains reference information for the scriptable editing API.
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.