Template to reproduce ProseMirror bugs in the simplest form possible.
Loads the basic prosemirror-example-setup
with prosemirror-dev-toolkit
as ES modules using importmap
and es-module-shims
since they are not yet supported outside of Chrome. Deploys the content inside static
to Github pages following https://teemukoivisto.github.io/prosemirror-bug-template URL form.
- Click
Use this template
from Github UI - Give your bug reproduction an appropriate name
- Git clone the created repo. Run
npm i
to install prettier if you so desire - Run search and replace to replace
teemukoivisto
with your username andprosemirror-bug-template
with your repo - Change content inside
static/
as needed to make your bug repo - Run
npm run deploy:init
to deploy to Github pages (incase it doesn't exist in upstream). Usenpm run deploy
in subsequent runs
You need Node.js >=16 installed.
- Git clone &
npm i
- Run
npm start
- See the content at http://localhost:4040 (hit refresh to see changes)
- Run
npm run deploy
to deploy current changes to Github pages