feat(outline): add document outline sidebar panel with heading navigation

Amit Haridas
This commit is contained in:
2026-04-06 10:40:29 +05:30
parent 24cb99658e
commit b1a5784bcc
4 changed files with 180 additions and 0 deletions
+10
View File
@@ -1437,6 +1437,16 @@
<line x1="9" y1="21" x2="9" y2="9"/>
</svg>
</button>
<button class="sidebar-icon" data-panel="outline" title="Outline (Ctrl+Shift+O)">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="8" y1="6" x2="21" y2="6"/>
<line x1="8" y1="12" x2="21" y2="12"/>
<line x1="8" y1="18" x2="21" y2="18"/>
<line x1="3" y1="6" x2="3.01" y2="6"/>
<line x1="3" y1="12" x2="3.01" y2="12"/>
<line x1="3" y1="18" x2="3.01" y2="18"/>
</svg>
</button>
</div>
<div class="sidebar-panel" id="sidebar-panel">
<div class="sidebar-panel-header">