Home > @tridion-sites/extensions > OptionalCategoryEditorHook
Hook for accessing Keyword Editor data when available.
Signature:
export type OptionalCategoryEditorHook = () => CategoryEditorHookResult | undefined;
References: CategoryEditorHookResult
Safe to be used within or outside of the Keyword Editor. undefined
is returned when used outside of Keyword Editor.