SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Variable WorkbookScriptCommandsConst

    WorkbookScriptCommands: MemoExoticComponent<
        (
            props: CommandContributionComponentProps<
                WorkbookCommandContributorData,
            >,
        ) => null,
    > = ...

    Wires the workbook-level scripting commands' behavior — executeScript (run a macro) and showScriptEditor (toggle the task pane) — onto the per-workbook workbook scope, and starts the script engine on workbook load.

    The editor no longer needs a pushed-in IScriptEditor.Context: it reads the live workbook via useWorkbook (ranges/scripts), executes the workbook insertFunction command for the fx picker, and listens to the workbook's own onBeforeSave to flush its source. So this component contributes plain callbacks — no context marshalling.

    showScriptEditor defers to a registered ScriptEditorOpener when present (e.g. the VS Code host opens a native editor); otherwise it toggles the in-app scriptEditor task pane.