Replies: 1 comment 1 reply
-
Hi, To my knowledge, that's just not possible with the JavaScript free approach we use for the expanders. What is the goal anchoring the expander itself? It will still not auto-expand. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The desire I had was to enable directly referencing the blob of content encapsulated within an expand section.
If you attempt to add an anchor reference to a heading element within an expand shortcode:
somepage.md:
Navigating to
foobar.site/somepage#moarwinning
is odd, as the expand trigger doesn't occur and the user can't see the content... so it felt like a reasonable /expedient way forward to just anchor to the expand element itself.Looking at the code, I get the sense that it could/might be possible to add the optional ability to declare the ID of the section, and fallback to autogeneration should the user not explicitly declare it....
However, that might not be a great way to accomplish the goal.... I figured that it would make sense to reach out and see if others have way more brilliant ideas of how to address this than I'm coming up with.
TIA! 🐺W
Beta Was this translation helpful? Give feedback.
All reactions