Injectable developer tools for ProseMirror rich-text editors implemented in Svelte and TypeScript.
The prosemirror-dev-toolkit is a rewrite of the prosemirror-dev-tools, designed to be smaller, more efficient, and with improved features. It is implemented using Svelte, which compiles directly to JavaScript without the need for a runtime, resulting in a smaller package size. This toolkit also functions as a Chrome extension, offering the convenience of inspecting live editors without the need to bundle it with project dependencies.
To install the prosemirror-dev-toolkit, you can use the following steps:
npm install prosemirror-dev-toolkit
Then import the toolkit:
import 'prosemirror-dev-toolkit';
And initialize it in your code:
// Initialize the toolkit
const toolkit = new ProsemirrorDevToolkit();
The prosemirror-dev-toolkit is a revamped version of the prosemirror-dev-tools, implemented in Svelte for better performance and reduced size. It functions as a Chrome extension, offering a user-friendly interface with tabs for interacting with Prosemirror editors. The toolkit allows for snapshot persistence, state monitoring, and history tracking, making it a valuable tool for developers working with Prosemirror editors.