← All ideas
0

Docs: Support nested blocks with Tab indent, toggle lists, toggle headings and callouts

LaunchedDocsIdea

Notion lets you nest any block with Tab / Shift+Tab and offers toggle lists, toggle headings and callouts as basic building blocks (https://www.notion.com/help/keyboard-shortcuts, https://www.notion.com/help/columns-headings-and-dividers, https://developers.notion.com/reference/block). Our DocsBlock model is a flat array with no children or indent level (lib/docs-types.ts, lib/docs-schema.ts) and Tab is not handled in components/docs/DocsEditor.tsx, so sub-bullets and collapsible FAQ sections are impossible. Nested lists are the default way people write meeting notes and outlines. First scope: an indent field (0-4) on list/to-do/paragraph blocks driven by Tab/Shift+Tab, a toggle block with collapsible children rendered from following indented blocks, and a callout block with emoji; carry them through docs-markdown export and the help center renderer. Priority: high. Effort: M. Compared with Notion.

Comments 0

No comments yet.