Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Table Of Contents for SharePoint Table Of Contents for SharePoint
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Microsoft SharePoint
  • SPFx
  • Table Of Contents for SharePointTable Of Contents for SharePoint
  • Issues
  • #13

Closed
Open
Created Feb 16, 2021 by Laurent Sittler@lsittler©Owner2 of 2 tasks completed2/2 tasks

Wrong behavior when headers are not used in order

Summary

The Table Of Contents display the same group of headers twice

Prerequisites

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Your environment

Tenant Release
  • Standard
  • Targeted
Extension version 1.0.0
Deployment
  • Tenant App Catalog and install one whole Tenant
  • Tenant App Catalog and install per site collection
  • Site collection app catalog
Browser Edge
Browser Version 88.0.705.68
Operating System Mac

Current behavior

  1. Create a SharePoint Page
  2. Create headers in this order: H2 then H1
  3. Save the page and refresh
  4. Open the TOC
  5. The H2 header is displayed twice

Expected behavior

Same steps that the current behavior but the title/header H2 should be displayed only once

Screenshots

Screen_Shot_2021-02-16_at_09.25.33

Edited Feb 17, 2021 by Laurent Sittler
Assignee
Assign to
Time tracking