• Remove the clicked custom action from system.actionDefs, after a confirmation prompt. Only the action def is removed — the bound Macro document is left untouched.

    Parameters

    • doc: ActionOwner

      The action-owning document.

    • target: HTMLElement

      The clicked control inside an action row.

    Returns Promise<void>