slate-plugins
slate-plugins copied to clipboard
Update slate-drop-or-paste-images to slate to >= 0.43
- [x] change -> editor
- [x] Also add context object to insertImage callback. Useful to access original src for example.
@cdunn Hah, I missed this when I made #40. Looks like we took the same approach, I like your additions. What do you think of how I handle the types? https://github.com/ianstormtaylor/slate-plugins/blob/39b68f209bf0873663ee6922300f0ce999a150ee/packages/slate-drop-or-paste-images/src/index.js#L50-L68
@ianstormtaylor what would it take to merge this? Should the other plugins be upgraded at the same time?