]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/wysiwyg-editor-tinymce.js
respective book and chapter structure added.
[bookstack] / resources / js / components / wysiwyg-editor-tinymce.js
index 093442ea2bce2dd2c7dadb0be60f14233fffc029..46ae6ecf4cc89e03358e3f60917d4d5c76e56f43 100644 (file)
@@ -37,9 +37,9 @@ export class WysiwygEditorTinymce extends Component {
     /**
      * Get the content of this editor.
      * Used by the parent page editor component.
-     * @return {{html: String}}
+     * @return {Promise<{html: String}>}
      */
-    getContent() {
+    async getContent() {
         return {
             html: this.editor.getContent(),
         };