I’ve been trying to finish an Angular implementation that was started by a coworker, who decided to go with ProseMirror. I’m trying to get tables to work, but for some reason, everytime the dispatchTransaction callback runs, the schema for the doc is being replaced with a basic schema without the table nodes. I’ve been searching for a place where that happens, but it’s not coming from my code.
The only reference I could find to using a schema for tables involves extending the schema, I’ve assumed this wasn’t needed and I could put the nodes straight into my custom schema, could that be where I’m going wrong?
Is there a basic schema that overrides the custom schema under some circumstances? Can I force prosemirror to only ever use the custom one? I’ve removed the node_modules for prosemirror-schema-basic, so I know I’m not loading that one.