Ma-Kas / kansaibeyond

Monorepo for a blog and travel website, consisting of frontend, backend, and headless cms.
https://www.kansaibeyond.com
0 stars 0 forks source link

Blog content (HTML) datatype in database #28

Closed Ma-Kas closed 5 months ago

Ma-Kas commented 7 months ago

What is better to store in the database, html string or JSON of editor state?

JSON: PROS:

HTML String: PROS:

Both: PROS: