diff options
Diffstat (limited to 'public/vendor/inlineAttachment')
-rwxr-xr-x | public/vendor/inlineAttachment/codemirror.inline-attachment.js | 2 | ||||
-rwxr-xr-x | public/vendor/inlineAttachment/inline-attachment.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/public/vendor/inlineAttachment/codemirror.inline-attachment.js b/public/vendor/inlineAttachment/codemirror.inline-attachment.js index 7816d1c8..08bc4924 100755 --- a/public/vendor/inlineAttachment/codemirror.inline-attachment.js +++ b/public/vendor/inlineAttachment/codemirror.inline-attachment.js @@ -88,6 +88,8 @@ return false; } }); + + return inlineattach; }; inlineAttachment.editors.codemirror4 = codeMirrorEditor4; diff --git a/public/vendor/inlineAttachment/inline-attachment.js b/public/vendor/inlineAttachment/inline-attachment.js index 9353ebd8..0ffd3f9f 100755 --- a/public/vendor/inlineAttachment/inline-attachment.js +++ b/public/vendor/inlineAttachment/inline-attachment.js @@ -352,7 +352,7 @@ inlineAttachment.prototype.onFileInserted = function(file, id) { if (this.settings.onFileReceived.call(this, file) !== false) { this.lastValue = this.settings.progressText.replace(this.filenameTag, id); - this.editor.insertValue(this.lastValue); + this.editor.insertValue(this.lastValue + "\n"); } }; |