summaryrefslogtreecommitdiff
path: root/public/vendor/inlineAttachment
diff options
context:
space:
mode:
authorWu Cheng-Han2015-07-02 00:10:20 +0800
committerWu Cheng-Han2015-07-02 00:10:20 +0800
commit10c9811fc534a2738c19d8f74a447ed500b730a2 (patch)
tree8e46f99f36660d9c011d135fc6ce736733a5876b /public/vendor/inlineAttachment
parentf7f8c901f4bc39c3ed0a2bdfe1cbaa1ee6957999 (diff)
Jump to 0.3.1
Diffstat (limited to 'public/vendor/inlineAttachment')
-rwxr-xr-xpublic/vendor/inlineAttachment/codemirror.inline-attachment.js2
-rwxr-xr-xpublic/vendor/inlineAttachment/inline-attachment.js2
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");
}
};