Closed schardev closed 1 month ago
@schardev there is no easy fix for this, as headings can always contain various marks. You would need to iterate through the children and create a slug from the texts, but I don't think this is vary practical. I would consider using a custom block with a slug and title field to accomplish this.
Currently there's no easy way to get the
text
of a text node from the renderers:The intended usecase is for adding the text as ids to the heading element.