次の方法で共有


Scriptable Editing Reference

This section contains reference information for the scriptable editing API.

Attributes/Properties

ATOMICSELECTION

Specifies whether the element and its contents must be selected as a whole, indivisible unit.

canHaveHTML

Gets or sets the value indicating whether the object can contain rich HTML markup.

contentEditable

Sets or retrieves the string that indicates whether the user can edit the content of the object.

isContentEditable

Gets the value that indicates whether the user can edit the contents of the object.

isMultiLine

Retrieves the value indicating whether the content of the object contains one or more lines.

UNSELECTABLE

Specifies that an element cannot be selected.

Events

oncontrolselect

Fires when the user is about to make a control selection of the object.

onselectionchange

Fires when the selection state of a document changes.

Constants

2D-Position

Allows absolutely positioned elements to be moved by dragging.

AbsolutePosition

Sets an element's position property to "absolute."

LiveResize

Causes 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.

MultipleSelection

Allows for the selection of more than one site selectable element at a time when the user holds down the SHIFT or CTRL keys.