refactor(editor): Fix typescript issues in components (no-changelog) (#9580)
This commit is contained in:
@@ -60,7 +60,7 @@ export default defineComponent({
|
||||
},
|
||||
computed: {
|
||||
doc(): string {
|
||||
return this.editor?.state.doc.toString();
|
||||
return this.editor?.state.doc.toString() ?? '';
|
||||
},
|
||||
extensions(): Extension[] {
|
||||
const { isReadOnly } = this;
|
||||
|
||||
Reference in New Issue
Block a user