My First Introduction to Portable Text

November 13th, 2017

A hand lighting a candle on a cake decorated with letter candles spelling out Happy Birthday
* This is markdown from code
[here](https://www.droplee.com)

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 inbetween 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. I can also customize the editor with React components and paste-handling overrides. I can even make it speak!

sddsads

xzzxnnn

cvss

import CustomEditor from './components/BlockEditor'

capabilities

Writing:

<p> written </p>

#### hi

* list

* list2

Pasted:

<p>Hi there p </p>

hi

{
  "key": "value",
}

This is from markdownReference

Click here

Authors

  • My Name
👏 1