tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > OptionalKeywordEditorHook

OptionalKeywordEditorHook type

Hook for accessing Keyword Editor data when available.

Signature:

export type OptionalKeywordEditorHook = () => KeywordEditorHookResult | undefined;

References: KeywordEditorHookResult

Remarks

Safe to be used within or outside of the Keyword Editor. undefined is returned when used outside of Keyword Editor.