Home > @tridion-sites/extensions > ContentEditorViewHookResult
Signature:
export interface ContentEditorViewHookResult
Property | Modifiers | Type | Description |
---|---|---|---|
isAvailable | boolean | Defines whether the content extension is available to be displayed or not | |
priority? | number | (Optional) Priority value of the custom editor in the list of candidates for rendering. Extension with a higher priority will be displayed instead of an extension with lower priority. Helps to resolve collapsing cases when useIsAvailable returns true for two or more extensions for a single editor at the same time. |