Slate.js Rich Text as JSONB in Postgresql with Prisma

Опубликовано: 10 Октябрь 2024
на канале: Ken Greeff
2,879
43

The content for our WYSIWYG / Rich Text editor is json, we will need to store this data as json in the database so that it is easy to use moving forward.

In this video I will show you how to store the rich text editor data as JSONB in a Postgresql column. We will also serialize the content as plain text so that we can use it to show summaries.