Update note
This commit is contained in:
@@ -53,7 +53,7 @@ var app = new Vue({
|
|||||||
send: function () {
|
send: function () {
|
||||||
/* Сохранить */
|
/* Сохранить */
|
||||||
let vm = this;
|
let vm = this;
|
||||||
{{ editor.getValue('body', 'vm.note.body', type='tinymce') }}
|
{{ editor.getValue('"body"', 'vm.note.body', type='tinymce') }}
|
||||||
axios.post(
|
axios.post(
|
||||||
'/api',
|
'/api',
|
||||||
{
|
{
|
||||||
@@ -75,7 +75,7 @@ var app = new Vue({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
{{ editor.tinymce('body') }}
|
{{ editor.tinymce('"body"') }}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ var app = new Vue({
|
|||||||
send: function () {
|
send: function () {
|
||||||
/* Сохранить */
|
/* Сохранить */
|
||||||
let vm = this;
|
let vm = this;
|
||||||
{{ editor.getValue('body', 'vm.note.body', type='tinymce') }}
|
{{ editor.getValue('"body"', 'vm.note.body', type='tinymce') }}
|
||||||
axios.post(
|
axios.post(
|
||||||
'/api',
|
'/api',
|
||||||
{
|
{
|
||||||
@@ -74,7 +74,7 @@ var app = new Vue({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted: function () {
|
mounted: function () {
|
||||||
{{ editor.tinymce('body') }}
|
{{ editor.tinymce('"body"') }}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user