Parse and serialize SlateJS json with Zod and React #2321
mvdve
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For others who want to validate and serialize the SlateJS json data into a react app, see the code snippets below, maybe its helpful.
Parse and create types with Zod
Rich text field component
Beta Was this translation helpful? Give feedback.
All reactions