Design Notion – Frontend System Design

We’ll walk through the frontend system design for Notion: a block editor whose pages nest inside pages, whose tables are filtered views over those pages, and whose clients keep working on a plane. You’ll see why the document is a flat map of blocks instead of one contenteditable, how a slash menu converts a block without leaving junk, how a 4,000-block page stays at 60fps, and how offline edits converge with a hybrid of last-writer-wins and a text CRDT.
This is not the rich text editor question, and it is not Google Docs. Docs is one character sequence. Figma is a scene graph on a GPU canvas. Notion is the version where the interviewer says “everything is a block, including pages and databases, and the user just spent six hours on a flight.” Character OT does not model a toggle that contains a board. A single contenteditable does not virtualize.
Problem Statement
... premium content.
