Skip to content

Releases: AvidlyWordPress/avidly-block-toc

Version 2.0.0

Choose a tag to compare

@veerap000 veerap000 released this 17 Nov 07:30

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 <summary tag.
  • Style fixes and support for <summary elements.

Post release: Version 1.0.1

Choose a tag to compare

@veerap000 veerap000 released this 16 Nov 13:18
a9abc4b

Initial release, version 1.0.1.