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