How can we mimic the columns block in Gutenberg to instead be list elements?

Question

How can we mimic the columns block in Gutenberg to instead be list elements?
I wish I can provide an example, but I have 0 clue on a starting point for this one. Instead of the columns generating div elements that depend on custom class logic like so…

<div class="wp-block-column block-editor-block-list__block wp-block block-core-columns block-editor-block-list__layout">

I just want the wrapping element to be an <li>

Where do I start my journey in building something like this?

0
klewis 2 months 2021-07-21T16:54:31-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse