You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I want to create a custom table of contents that doesn't flash on page load, is there any way to get a list of headings on a page during SSR and return it from the module script's load function?
Essentially this but of course without using unavailable browser globals:
This discussion was converted from issue #3229 on January 07, 2022 07:50.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Describe the problem
Say I want to create a custom table of contents that doesn't flash on page load, is there any way to get a list of headings on a page during SSR and return it from the module script's
loadfunction?Essentially this but of course without using unavailable browser globals:
Describe the proposed solution
No idea.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response
All reactions