Structural block node specs to merge into a schema: new Schema({ nodes: { ...defaultNodes(), ...blockNodes() }, marks: … }).
new Schema({ nodes: { ...defaultNodes(), ...blockNodes() }, marks: … })
These are the layout primitives a document editor needs beyond prose: containers (callout, card, column, toggle), sequences (timeline, footnote list), inline chrome (badge, button, footnote ref, anchor) and the print-only page break.
Structural block node specs to merge into a schema:
new Schema({ nodes: { ...defaultNodes(), ...blockNodes() }, marks: … }).These are the layout primitives a document editor needs beyond prose: containers (callout, card, column, toggle), sequences (timeline, footnote list), inline chrome (badge, button, footnote ref, anchor) and the print-only page break.