My first introduction to portable text
Ima Ather
Tue, 01 Sep 2020 04:00:00 GMT
Portable Text is a JSON based rich text specification for modern content editing platforms. The rich text editor in Sanity Studio uses it and lets me embed data objects both inline and in between my text blocks. I can even have references in them so that my content backend warns me if I try to delete content that is linked to other things. I can also customize the editor with React components and paste-handling overrides. I can even make it speak.
Since the blog is using Next.js, it builds statically, but fetches new data when we have new content published in Studio.
Ima Ather
This person (and headshot) does not exist. This is example content that comes out by default.