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:
@ -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(),
|
||||
};
|
||||
|
Reference in New Issue
Block a user