Rich Text Editor
sanity.io · 3,449 words · saved by 1 readers
Rich text in Sanity is structured to make it flexible, here's how and why.
Set up and configure the Portable Text Editor with decorators, annotations, and block content. Copy article Copy article Portable Text is extendible. Each block can have a style and a set of mark definitions that describe data structures distributed in the child spans. Portable Text also enables inserting arbitrary data objects in the array, only requiring a _type -key. It also allows custom content objects in the root array, enabling editing and rendering environments to mix rich text with custom content types. You can create as many versions of the editor for Portable Text as you want. A fre
related reading
- Peritext: A CRDT for Rich-Text Collaborationinkandswitch.com
- Roughdraft - Markdown reviews for coding agentsroughdraft.md
- Impeccable: The missing upgrade to Anthropic's impeccable skillimpeccable.style
- Embark: Dynamic documents for making plansinkandswitch.com
- Pandoc - indexpandoc.org
- Detail · Where craft livesdetail.design
- Agentationagentation.dev
- Hemingway Editorhemingwayapp.com
- Pretext Demoschenglou.me
- Agentationagentation.com
- Typst: The new foundation for documentstypst.app
- 22 UX improvements to the web editormintlify.com