Skip to content

Commit

Permalink
fix(TextEditor): Set pageContent for reader when loaded
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Nov 1, 2023
1 parent 2dfd74e commit 3d4fa73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Page/TextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ export default {
},
mounted() {
this.setupReader()
this.setupReader().then(() => {
if (!this.loading('pageContent')) {
this.reader?.setContent(this.pageContent)
}
})
this.setupEditor()
this.getPageContent().then(() => {
this.initEditMode()
Expand Down

0 comments on commit 3d4fa73

Please sign in to comment.