Skip to content

Commit e401552

Browse files
authored
Merge pull request #12 from jywarren/changes-tweak
Changes tweak
2 parents 12c6587 + 67a8b0e commit e401552

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/inlineMarkdownEditor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10302,7 +10302,7 @@ module.exports = function onComplete(response, markdown, html, el, uniqueId, for
1030210302
if (response === 'true' || response === true) {
1030310303
var message = $('#' + uniqueId + ' .section-message');
1030410304
message.html('<i class="fa fa-check" style="color:green;"></i>');
10305-
markdown = changes;
10305+
//markdown = changes;
1030610306
$('#' + uniqueId + ' textarea').val('');
1030710307
form.hide();
1030810308
// replace the section but reset our html and markdown

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "inline-markdown-editor",
3-
"version": "0.2.2",
3+
"version": "0.2.3",
44
"description": "An inline wysiwyg markdown document editor based on replacing string subsections. WYSIWYG possible via woofmark.",
55
"main": "dist/inlineMarkdownEditor.js",
66
"scripts": {

src/onComplete.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = function onComplete(response, markdown, html, el, uniqueId, for
22
if (response === 'true' || response === true) {
33
var message = $('#' + uniqueId + ' .section-message');
44
message.html('<i class="fa fa-check" style="color:green;"></i>');
5-
markdown = changes;
5+
//markdown = changes;
66
$('#' + uniqueId + ' textarea').val('');
77
form.hide();
88
// replace the section but reset our html and markdown

0 commit comments

Comments
 (0)