Update note

This commit is contained in:
RemiZOffAlex
2020-05-06 15:49:47 +03:00
parent f4358f16af
commit 53e2b7aba8
2 changed files with 4 additions and 4 deletions

View File

@@ -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>

View File

@@ -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>