mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
Heading numbers are drawn by a ProseMirror decoration, and the server strips all plugin decorations before it serializes, so exported HTML always came out unnumbered. Compute the same labels during export and write them to the rendered headings as a data attribute, which the exported editor styles already render. A revision takes the preference from the document it belongs to. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>