1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Lexical: Linked up saving logic of editor via interface

This commit is contained in:
Dan Brown
2024-07-04 13:09:53 +01:00
parent a8f1160743
commit 04c7e680fd
5 changed files with 52 additions and 15 deletions

View 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(),
};