Skip to content
Discussion options

You must be logged in to vote

It is recommended to create an editor using createSlateEditor before serialization. You just need to switch to rendering plateStatic with createSlateEditor instead of createPlateEditor in your code.
See https://github.com/udecode/plate/blob/main/apps/www/src/registry/ui/export-toolbar-button.tsx#L99

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MathiasGretland
Comment options

Answer selected by MathiasGretland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants