prosemirror-image-uploader
The necessary image uploader for prosemirror based editors like (tiptap, remirror).
Features 🎉
- ✅ Image drop handling
- ✅ Image paste handling
- ✅
<img>
tag insertion handling - ✅ Typescript definitions
- ✅ Collaboration/undo history friendly
- ✅ No widgets/decorations
Installation 📦
npm i prosemirror-image-uploader
Basic Usage 📌
In your code, register the image upload plugin with the required upload
function.
EditorState.create
Also adjust your image node to accept 2 attributes, a boolean error
, and a string uploadId
:
Approach 📚
Google Docs like approach is pursued. More coming soon...
Guide 🔭
Coming soon...
Caveats
Coming soon...
Examples
Coming soon...
Credits
Love our work?
Hit the star button. It helps ❤️
License
The MIT License (MIT). Please see License File for more information.