diff --git a/myapp/ns_note/templates/note_add.html b/myapp/ns_note/templates/note_add.html index 5002bb1..4329e95 100644 --- a/myapp/ns_note/templates/note_add.html +++ b/myapp/ns_note/templates/note_add.html @@ -53,7 +53,7 @@ var app = new Vue({ send: function () { /* Сохранить */ let vm = this; -{{ editor.getValue('body', 'vm.note.body', type='tinymce') }} +{{ editor.getValue('"body"', 'vm.note.body', type='tinymce') }} axios.post( '/api', { @@ -75,7 +75,7 @@ var app = new Vue({ } }, mounted: function () { -{{ editor.tinymce('body') }} +{{ editor.tinymce('"body"') }} } }) diff --git a/myapp/ns_note/templates/note_edit.html b/myapp/ns_note/templates/note_edit.html index 756b89b..693becf 100644 --- a/myapp/ns_note/templates/note_edit.html +++ b/myapp/ns_note/templates/note_edit.html @@ -51,7 +51,7 @@ var app = new Vue({ send: function () { /* Сохранить */ let vm = this; -{{ editor.getValue('body', 'vm.note.body', type='tinymce') }} +{{ editor.getValue('"body"', 'vm.note.body', type='tinymce') }} axios.post( '/api', { @@ -74,7 +74,7 @@ var app = new Vue({ } }, mounted: function () { -{{ editor.tinymce('body') }} +{{ editor.tinymce('"body"') }} } })