import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Append children to a block or rte content
 *
 * @example parent.apply(new AppendChildrenAction([newChildren]))
 */
export class AppendChildrenAction extends ModifyContentAction {
  constructor(childNodes) {
    super();
    this.type = ModifyContentActionType.APPEND_CHILDREN;
    this.entityToBeAppended = childNodes;
  }
}
