diff --git a/lib/simditor.js b/lib/simditor.js index a5777eba..de50f6f9 100644 --- a/lib/simditor.js +++ b/lib/simditor.js @@ -2531,6 +2531,7 @@ Simditor = (function(superClass) { defaultImage: 'images/image.png', params: {}, upload: false, + //upload: {fileKey: 'file'}, indentWidth: 40 }; @@ -4403,6 +4404,7 @@ ImageButton = (function(superClass) { $input.remove(); } return $input = $('', { + name: 'file', type: 'file', title: _this._t('uploadImage'), multiple: true, @@ -4798,6 +4800,7 @@ ImagePopover = (function(superClass) { _this.input.remove(); } return _this.input = $('', { + name: 'file', type: 'file', title: _this._t('uploadImage'), multiple: true,