<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Editor`](Editor) › [`exec`](Editor/exec)
## Editor.exec() method
0.12.2
**Signature:**
```typescript
abstract exec(command: EditorCommandName): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>command</code> | [`EditorCommandName`](EditorCommandName) | |
**Returns:**
`void`