TeemuKoivisto / prosemirror-dev-toolkit

Injectable developer tools for ProseMirror rich-text editors implemented in Svelte and TypeScript.
https://teemukoivisto.github.io/prosemirror-dev-toolkit/
MIT License
115 stars 6 forks source link

please document how to rebuild the extension and how to try from git clone #49

Closed kapouer closed 1 year ago

kapouer commented 1 year ago

It would be nice to not guess how to rebuild the extension (after npm install). Chrome can "install from unpacked extension", so it surely is easy.

TeemuKoivisto commented 1 year ago

Oh hey, good point! Yeah didnt think anyone would bother to do that. So, run pnpm i. Then pnpm --filter prosemirror-dev-toolkit dist and last pnpm --filter extension build. Should create a folder to packages/extension/dist which you can load from chrome://extensions (as unpacked extension, as you said).

I'll update the docs.