Home > @tridion-sites/extensions > useOptionalComponentEditor
Provides access to Component Editor data and methods, if available. undefined
is returned when used outside of Component Editor.
Signature:
useOptionalComponentEditor: OptionalComponentEditorHook;