slides
slides copied to clipboard
Fragments for lists
There's a button in the rich text toolbar (under the arrow) to add fragments which is great. A rather common use case is lists as fragments.
As for now, it's possible to add a fragment to the list content which leads to a strange situation, that list bullets are all visible at once and only the contents of the list elements are revealed since the span with class = "fragment" is created around the marked content only.
It would be perfect to instead add the class to the li element.
It's possible to manually add the class "fragment" to the li element by editing the html and that works as expected.
This is a great idea, but unfortunately there's currently no way to extend the list item attributes in Gutenberg. I'll think about how we can address this in Gutenberg itself.