tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > EditorHookResult

EditorHookResult interface

Signature:

export interface EditorHookResult

Properties

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.