X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5a4f59534124a83b9d7b54abe1d5c8984b2fa04f..refs/pull/5721/head:/resources/js/components/wysiwyg-editor-tinymce.js diff --git a/resources/js/components/wysiwyg-editor-tinymce.js b/resources/js/components/wysiwyg-editor-tinymce.js index 093442ea2..46ae6ecf4 100644 --- a/resources/js/components/wysiwyg-editor-tinymce.js +++ b/resources/js/components/wysiwyg-editor-tinymce.js @@ -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(), };