diff --git a/packages/text-editor/src/components/toc/TableOfContentsContent.svelte b/packages/text-editor/src/components/toc/TableOfContentsContent.svelte new file mode 100644 index 0000000000..45ffded39f --- /dev/null +++ b/packages/text-editor/src/components/toc/TableOfContentsContent.svelte @@ -0,0 +1,74 @@ + + + + + +
+ + +
+ + {#each items as item} + {@const level = getIndentLevel(item.level)} + + {/each} + +