Any chance of adding a demo of how ProseMirror supports tables?
If not demo, maybe a bit of docs?
P.S. At the moment the project feels like an Orion rocket dripping hydrogen fuel on the starting table, in the sense that no freaking way a layman would be able to put any of it to use, and although the technicians look extra cool, they’re too busy and speak opaque internal lingo.
That being said, this demo script does set up an editor with a table. It involves mixing the table module into the schema, and enabling the example-setup plugins.
No, that’s not one of the demos on the website. If you clone and npm install that repository, you can run npm run demo to start the demo server on port 8080.
Currently doing git clone + npm install + npm run demo creates a broken server instance. It serves index.html and few other files, but fails fetching something important (apparently something with moduleserve).
Here’s the list of files that did succeed to load according to DevTools, in chronological order:
I’m having trouble with running a table demo as well. Where are the instructions you mention? A good example would be nice. I’ve been working on tables for a week and while I’m making some progress it doesn’t seem to get easier.
Tables aren’t included in the dev setup demo anymore since prosemirror-schema-tables was deprecated. You could clone https://github.com/prosemirror/prosemirror-tables, install it, and run npm run build_demo to run that repository’s demo.
It required extra features in the core, and was too limited to express things like colspan/rowspan which almost everybody needed. So look at prosemirror-tables instead, and see if that works for you.