Fixes: Allow BlockInsert on final block (previously didnt work in Prod)

This commit is contained in:
Tom Moor
2017-12-05 23:25:09 -08:00
parent e64ca3ca43
commit 5c38ff9e63
7 changed files with 30 additions and 17 deletions

View File

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