import { removeNode } from "../../../../../utils/remove-node.js";
export const removeYfmTable = (state, dispatch, _, attrs) => {
    if (!attrs)
        return false;
    const { tablePos, tableNode } = attrs;
    if (dispatch) {
        removeNode({
            node: tableNode,
            pos: tablePos,
            tr: state.tr,
            dispatch,
        });
    }
    return true;
};
//# sourceMappingURL=actions.js.map
