|
|
@ -52,7 +52,6 @@ |
|
|
}); |
|
|
}); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
console.log($form.find("input[name='Post.Content']").val() + "asda"); |
|
|
|
|
|
var newPostEditor = $editorContainer.tuiEditor({ |
|
|
var newPostEditor = $editorContainer.tuiEditor({ |
|
|
usageStatistics: false, |
|
|
usageStatistics: false, |
|
|
initialEditType: 'markdown', |
|
|
initialEditType: 'markdown', |
|
|
@ -82,7 +81,6 @@ |
|
|
|
|
|
|
|
|
var postText = newPostEditor.getMarkdown(); |
|
|
var postText = newPostEditor.getMarkdown(); |
|
|
$postTextInput.val(postText); |
|
|
$postTextInput.val(postText); |
|
|
console.log(postText); |
|
|
|
|
|
|
|
|
|
|
|
$submitButton.buttonBusy(); |
|
|
$submitButton.buttonBusy(); |
|
|
$(this).off('submit').submit(); |
|
|
$(this).off('submit').submit(); |
|
|
|