import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Delete the nest list block action
 *
 * @example needRemovedNestList.parent.apply(new RemoveNestListAction(needRemovedNestList))
 */
export class RemoveNestListAction extends ModifyContentAction {
  constructor(childList) {
    super();
    this.type = ModifyContentActionType.DELETE_NEST_LIST;
    this.nestListBlockToBeRemoved = childList;
  }
}
