import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Remove a children from the current block
 *
 * @example needRemovedChildren.parent.apply(new RemoveChildrenAction(needRemovedChildren))
 */
export class RemoveChildrenAction extends ModifyContentAction {
  constructor(childNode) {
    super();
    this.type = ModifyContentActionType.DELETE_CHILDREN;
    this.entityToBeRemoved = childNode;
  }
}
