From 10c9811fc534a2738c19d8f74a447ed500b730a2 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Thu, 2 Jul 2015 00:10:20 +0800 Subject: Jump to 0.3.1 --- public/vendor/inlineAttachment/codemirror.inline-attachment.js | 2 ++ public/vendor/inlineAttachment/inline-attachment.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'public/vendor/inlineAttachment') 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"); } }; -- cgit v1.2.3