Add attribute for position

I was getting this error while uploading images to the server

Uncaught TypeError: Cannot read property 'width' of undefined summernote.min.js:1
(anonymous function) summernote.min.js:1
(anonymous function) vendor.js:2
j vendor.js:2
k.fireWith vendor.js:2
e.(anonymous function) vendor.js:2
(anonymous function) summernote.min.js:1
d vendor.js:3
n.event.dispatch vendor.js:3
r.handle vendor.js:3


That problem was solved adding this "position:welEditable" to the imageUpload function