RedEchidnaUK / Table-of-Contents

Creates a Table of Contents on SharePoint Online Modern pages based on the heading tags in the standard Text web part. This has not been tested with standalone SharePoint, but it may work.
MIT License
10 stars 4 forks source link

Is there a way to make it default to Text? #10

Closed RedEchidnaUK closed 8 months ago

RedEchidnaUK commented 8 months ago
          This is great stuff. Is there a way to make it default to Text? At the moment it defaults to neither text nor markdown, which means all of the existing pages show nothing until I edit each page to select text.

Originally posted by @robstewart-nz in https://github.com/RedEchidnaUK/Table-of-Contents/issues/8#issuecomment-1897716686

RedEchidnaUK commented 8 months ago

@robstewart-nz New version released with a fix to ensure it defaults to Text for instances where the webpart was on an existing page. New webparts always defaulted correctly.

robstewart-nz commented 8 months ago

Amazing, thank you, any way to buy you a coffee for these updates?

RedEchidnaUK commented 8 months ago

Thank you, that’s a very kind offer, but I’m just glad someone finds it useful. If you still really want to do something, just put some money in the next charity donation box you see on my my behalf.