Let me start by noting that I am using version 1.0.0, so if this is old behavior then I’ll bite the bullet and upgrade.
With a schema that has optional nodes:
doc: {
content: "nodeA optNode1? optNode2? nodeB"
},
When I call EditorState.create() using this schema I get a document that contains the optional nodes. Is there a way to prevent this? Is there some option that I can specify that will cause the creation of the doc
node to omit the optional nodes?