import { UmbTiptapMenuItemActionApi } from '../../../components/menu/tiptap-menu-item-api-base.js';
import { UMB_TIPTAP_RTE_CONTEXT } from '../../../contexts/tiptap-rte.context-token.js';
export default class UmbTableColumnToggleHeaderAction extends UmbTiptapMenuItemActionApi {
    async execute() {
        const ctx = await this.getContext(UMB_TIPTAP_RTE_CONTEXT);
        ctx?.getEditor()?.chain().focus().toggleHeaderColumn().run();
    }
}
