import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Remove the code block from the state.
 *
 * @example codeBlock.parentBlock.apply(new RemoveCodeBlockAction())
 */
export class RemoveCodeBlockAction extends ModifyContentAction {
  constructor() {
    super(...arguments);
    this.isFlushable = true;
    this.type = ModifyContentActionType.DELETE_CODE_BLOCK;
  }
}
