mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-14 12:02:31 +03:00
Lexical: Linked up saving logic of editor via interface
This commit is contained in:
@ -133,9 +133,9 @@ export class MarkdownEditor extends Component {
|
||||
/**
|
||||
* Get the content of this editor.
|
||||
* Used by the parent page editor component.
|
||||
* @return {{html: String, markdown: String}}
|
||||
* @return {Promise<{html: String, markdown: String}>}
|
||||
*/
|
||||
getContent() {
|
||||
async getContent() {
|
||||
return this.editor.actions.getContent();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user