UNPKG

@portabletext/editor

Version:

Portable Text Editor made in React

31 lines (30 loc) 858 B
import { getChildren } from "../_chunks-es/get-ancestor.js"; import { getAncestor, getAncestors, getNode } from "../_chunks-es/get-ancestor.js"; import { getBlock, getEnclosingBlock, getParent, getPathSubSchema, getSibling, hasNode, isBlock, isInline } from "../_chunks-es/get-path-sub-schema.js"; import { getFirstChild, getLeaf, getSpanNode, getText, getTextBlockNode, getUnionSchema, isLeaf } from "../_chunks-es/get-first-child.js"; function getLastChild(snapshot, path) { return getChildren(snapshot, path).at(-1); } export { getAncestor, getAncestors, getBlock, getChildren, getEnclosingBlock, getFirstChild, getLastChild, getLeaf, getNode, getParent, getPathSubSchema, getSibling, getSpanNode, getText, getTextBlockNode, getUnionSchema, hasNode, isBlock, isInline, isLeaf }; //# sourceMappingURL=index.js.map