Migrating from ProseMirror
SuperDoc is built on ProseMirror but provides a complete document editing solution rather than a framework.Key differences
ProseMirror | SuperDoc |
---|---|
Framework requiring extensive setup | Ready-to-use DOCX editor |
Manual schema definition | Pre-built Word-compatible schema |
DIY file format support | Native DOCX import/export |
Custom plugin system | Module-based features |
What changes
Accessing ProseMirror internals
While SuperDoc doesn’t support custom ProseMirror plugins, you can access the underlying instances:Limitations
- No custom plugins: SuperDoc modules aren’t ProseMirror plugins
- Fixed schema: Can’t modify the document schema
- Controlled commands: Use SuperDoc’s command set, not raw transactions
Custom functionality
If you need features SuperDoc doesn’t provide, you have limited options:- Use SuperEditor for lower-level access
- Request features via GitHub issues
- Consider if SuperDoc is the right fit