Skip to content

Editor Configuration

Basic     Events     Styles     Button Groups     Cursor     Selection     Control     Enable     Internal Editor

Selection mode configuration. It is only effective when set during initialization or modified at runtime via app.editor.config.

At the same time, elements have an independent editor configuration property, which can override the main configuration in real time.

Key Properties

editBox: boolean

Whether to enable the edit box feature (used for editing elements). Enabled by default.

When disabled, the edit box will be hidden.

selector: boolean

Whether to enable the selection selector. Enabled by default.

It allows selecting editable elements through interaction and supports displaying hover states.

select: 'press' | 'tap'

The trigger mode for selection. Default is press.

press means triggered on mouse down, tap means triggered on click.

multipleSelect: boolean

Whether to enable multi-selection. Enabled by default.

boxSelect: boolean

Whether to enable box selection. Enabled by default.

continuousSelect: boolean

Whether a single click can continuously select multiple elements. Typically used for multi-selection on mobile devices. Disabled by default.

preventEditInner: boolean

Whether to prevent opening the inner editor on double-click. Default is false.

Released under the MIT License.