From ba6320f13497e494e30c16ce81c58e7cfd0b6b42 Mon Sep 17 00:00:00 2001 From: jywarren Date: Wed, 12 Jul 2017 13:50:51 -0400 Subject: [PATCH 1/2] changes tweak --- dist/inlineMarkdownEditor.js | 2 +- src/onComplete.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/inlineMarkdownEditor.js b/dist/inlineMarkdownEditor.js index 8ec8193..2376f27 100644 --- a/dist/inlineMarkdownEditor.js +++ b/dist/inlineMarkdownEditor.js @@ -10302,7 +10302,7 @@ module.exports = function onComplete(response, markdown, html, el, uniqueId, for if (response === 'true' || response === true) { var message = $('#' + uniqueId + ' .section-message'); message.html(''); - markdown = changes; + //markdown = changes; $('#' + uniqueId + ' textarea').val(''); form.hide(); // replace the section but reset our html and markdown diff --git a/src/onComplete.js b/src/onComplete.js index 1f00121..56756c5 100644 --- a/src/onComplete.js +++ b/src/onComplete.js @@ -2,7 +2,7 @@ module.exports = function onComplete(response, markdown, html, el, uniqueId, for if (response === 'true' || response === true) { var message = $('#' + uniqueId + ' .section-message'); message.html(''); - markdown = changes; + //markdown = changes; $('#' + uniqueId + ' textarea').val(''); form.hide(); // replace the section but reset our html and markdown From 67a8b0e33723b8477637fea8c06f1aa3fd0d2278 Mon Sep 17 00:00:00 2001 From: jywarren Date: Wed, 12 Jul 2017 13:51:11 -0400 Subject: [PATCH 2/2] version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 393598d..dd2ddfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "inline-markdown-editor", - "version": "0.2.2", + "version": "0.2.3", "description": "An inline wysiwyg markdown document editor based on replacing string subsections. WYSIWYG possible via woofmark.", "main": "dist/inlineMarkdownEditor.js", "scripts": {