Skip to content

Commit

Permalink
Override schema text serializers if provided in getText options (uebe…
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonlo authored and aliasliao committed May 24, 2023
1 parent 6dba776 commit 556f5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ export class Editor extends EventEmitter<EditorEvents> {
return getText(this.state.doc, {
blockSeparator,
textSerializers: {
...textSerializers,
...getTextSerializersFromSchema(this.schema),
...textSerializers,
},
})
}
Expand Down

0 comments on commit 556f5df

Please sign in to comment.