viewAreasEnabled Property

Description

This property is used to control whether view areas will be enabled in the editor.

Valid values are true and false.

By default, view areas are enabled.

Use get method of the ESDWeb object to get the value of this property.

Use set method of the ESDWeb object to set the value of this property or include this property in the configuration information passed to the startup method.

This property can only be set before calling the startup method or by including it in the configuration information passed to the startup method.

Example

editor = new window.__editor(undefined, document.getElementById('editor-node'));

...

// Startup the editor with view areas enabled.
editor.startup({
	requestTimeout: 10 * 1000, // Set the request timeout (10 seconds)
	viewAreasEnabled: true,    // Enable view areas
	beginZIndex: 50            // Set the z-index
});