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 | Callback to update internal editor state. | |
schema | Schema | undefined | Item’s metadata schema. |