This commit is contained in:
Tom Moor
2017-12-05 22:29:07 -08:00
parent e3f664e8a4
commit e64ca3ca43
5 changed files with 19 additions and 30 deletions

View File

@ -25,7 +25,7 @@ const createPlugins = ({ onImageUploadStart, onImageUploadStop }: Options) => {
}),
InsertImages({
extensions: ['png', 'jpg', 'gif'],
insertImage(change, file) {
insertImage: (change, file) => {
return change.call(
insertImageFile,
file,