mirror of
https://github.com/outline/outline.git
synced 2026-11-26 07:33:19 +03:00
Adds a convertHeadingsToToggleBlocks editor command that wraps every heading in the document, together with the content that follows it up to the next heading of the same or higher level, in a toggle block. Headings that are already toggle heads are skipped, and sub-headings are nested inside the toggle of their parent heading. The command is exposed in the command menu as "Convert headings to toggle headings", visible when the active document is editable and contains at least one convertible heading. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JyYLY7JMUGsa3E217bFuZj