Skip to content
This plugin is new and currently in beta. For the stable version, please use the previous version of the plugin.

ContextActionApi

API interface for context action implementations in the Stripo Email Editor Extensions SDK.

typescript
interface ContextActionApi extends BaseApi, BaseModifierApi

Description

The ContextActionApi interface provides API functionality for context actions - custom actions that appear in contextual menus when users interact with email elements. It combines the base API functionality with document modification capabilities, allowing context actions to both read editor state and modify the email template.

Import

typescript
import { ContextActionApi } from '@stripoinc/ui-editor-extensions';

Inheritance

Properties

None (inherits all properties from parent interfaces)

Methods

The ContextActionApi interface currently does not define any additional methods beyond those inherited from BaseApi and BaseModifierApi.

Inherited Methods from BaseApi

BaseApi - Base API interface

Inherited Methods from BaseModifierApi

BaseModifierApi - Document modification API