Home > @tridion-sites/extensions > EditorHookResult
Signature:
export interface EditorHookResult
| Property | Modifiers | Type | Description |
|---|---|---|---|
| isChanged | boolean | Boolean that indicates that Item has unsaved changes. | |
| isEditing | boolean | Boolean that indicates that item can be edited. | |
| item | Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup | Editable item. | |
| onUpdate | (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void | ||
| schema | Schema | undefined | Item’s metadata schema. | |
| updateItem | (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void | Callback to update item in the editor state. |