Change block output markup to work with HTML5 and improve DOM content detection.
! NOTE: This will require style changes in your theme if you have modified the button element and not the #toc-toggle ID.
Changed
- Block output markup to HTML5
<details>tag. - Build ToC links after
DOMContentLoaded. - Disallow to create multiple Toc blocks in same content.
Added
- Block depreaction for v1.
- Ignore toggle JS for
<summarytag. - Style fixes and support for
<summaryelements.