AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0
EditorHistoryHandle
Since Plugin API: 1.0.0
In-session undo/redo surface for preview editor toolbars and code/markdown editors.
Signature
interface EditorHistoryHandle {
undo: () => boolean;
redo: () => boolean;
canUndo: boolean;
canRedo: boolean;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
undo | () => boolean | yes | - |
redo | () => boolean | yes | - |
canUndo | boolean | yes | - |
canRedo | boolean | yes | - |