fn
createSchema
Build a {@link Schema} from node and mark spec maps.
Signature
ts
export function createSchema(input:{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
input | { nodes: ReadonlyMap<string, NodeSpec>; marks: ReadonlyMap<string, MarkSpec>; } | — |
Returns
Schema