Returns information about the editor where the extension is being rendered.
Returns information about the editor where the extension is being rendered.
export function useExtensionEditor(): Editor | undefined { return useApi().extension.editor; }
Indicates whether the extension is rendering in the checkout editor.