slate-plugins icon indicating copy to clipboard operation
slate-plugins copied to clipboard

Update slate-drop-or-paste-images to slate to >= 0.43

Open cdunn opened this issue 7 years ago • 2 comments

  • [x] change -> editor
  • [x] Also add context object to insertImage callback. Useful to access original src for example.

cdunn avatar Nov 19 '18 19:11 cdunn

@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

wmertens avatar Feb 10 '19 14:02 wmertens

@ianstormtaylor what would it take to merge this? Should the other plugins be upgraded at the same time?

wmertens avatar Feb 10 '19 14:02 wmertens