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/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": { 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