import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Delete text or image when press delete
 *
 * @example currentBlock.apply(new DeleteBlockContentAction(startContainerNode, startOffset))
 */
export class DeleteBlockContentAction extends ModifyContentAction {
  constructor(startContainerNode, startOffset) {
    super();
    this.type = ModifyContentActionType.DELETE_BLOCK_CONTENT;
    this.startContainerNode = startContainerNode;
    this.startOffset = startOffset;
  }
}
