Skip to content

Editor.exec method

Editor › exec

Official

Execute a command.

Signature:

exec(command: EditorCommandName): void

Parameters:

Parameter Type Description
command EditorCommandName The command to execute.

Returns: void

Since: 0.12.2

Example:

editor.exec('goUp');