Dom.canmakeneweditableregion(), Dom.canmarkselectionaseditable(), Dom.canmergetablecells() – Adobe Dreamweaver API Reference CS5 User Manual

Page 503

Advertising
background image

498

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

Arguments
None.

Returns
A Boolean value:

true

if the selection is inside a table;

false

if the selection is an entire table or is not inside a table.

dom.canMakeNewEditableRegion()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a New Editable Region operation.

Arguments
None.

Returns
A Boolean value:

true

if the current document is a template (DWT) file.

dom.canMarkSelectionAsEditable()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Mark Selection as Editable operation.

Arguments
None.

Returns
A Boolean value:

true

if there is a selection and the current document is a DWT file;

false

otherwise

.

dom.canMergeTableCells()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Merge Cells operation.

Arguments
None.

Advertising