Issue #3391489: Replace `.prose` selector, bind only once
Two changes here:
- The
.proseCSS selector presumes the use of a theme which uses that class, eg Sector Radix Starterkit. We replace that with the.chunker-sectionselector to detect chunked content instead. - When tested in D10 with BigPipe, Gin admin theme and toolbar and an SVG logo, the bind events were triggered repeatedly, resulting in a single "Next" click advancing several sections through the document. By using the
onceplugin, we can ensure a single bind of the element's click event.
Edited by Chris Burgess