diff --git a/playwright/support/fixtures/Node.ts b/playwright/support/fixtures/Node.ts
index 02ea83cf48d..10c1d880e18 100644
--- a/playwright/support/fixtures/Node.ts
+++ b/playwright/support/fixtures/Node.ts
@@ -77,9 +77,11 @@ export class Node {
}
async open() {
+ // loading the file list may take a while
+ const timeout = 10_000
await this.page.goto(`f/${this.id}`)
await expect(this.page.getByLabel(this.name, { exact: true }))
- .toBeVisible()
+ .toBeVisible({ timeout })
}
async move(newName: string) {
diff --git a/src/components/Editor/TableOfContents/TableOfContents.vue b/src/components/Editor/TableOfContents/TableOfContents.vue
index a569770460f..3415603126d 100644
--- a/src/components/Editor/TableOfContents/TableOfContents.vue
+++ b/src/components/Editor/TableOfContents/TableOfContents.vue
@@ -5,54 +5,20 @@
-
-
diff --git a/src/components/Editor/TableOfContents/TableOfContentsEntry.vue b/src/components/Editor/TableOfContents/TableOfContentsEntry.vue
new file mode 100644
index 00000000000..f376a61d3d4
--- /dev/null
+++ b/src/components/Editor/TableOfContents/TableOfContentsEntry.vue
@@ -0,0 +1,90 @@
+
+
+
+