How to store TipTap's content in to Prisma db?
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
I want secure and performant way to do it. How do I then display that data?
Answered by B33fb0n3
You can use either json or html. Both are supported by tiptap. Then it's pretty simple: get the output (html/json) from the editor and save it in an entry inside your DB.
Later you can read that entry, get the output (html/json) and render it
Later you can read that entry, get the output (html/json) and render it