import { wrapInList as originalWrapInList } from "./../../pm/schema-list.js";
import { getNodeType } from "../helpers/get-node-type.js";
const wrapInList = (typeOrName, attributes = {}) => ({ state, dispatch }) => {
  const type = getNodeType(typeOrName, state.schema);
  return originalWrapInList(type, attributes)(state, dispatch);
};
export {
  wrapInList
};
//# sourceMappingURL=wrap-in-list.js.map
