Sorry, we don't support your browser.  Install a modern browser

Field method toList() to turn lists into arrays

Use case: I want to use the simpler UI to edit the list entries than a structure but I need to assemble the html myself in order to inject css-styleable icons (can’t use background-image)

To replace: explode('</li><li>', preg_replace('/(^<ul><li>|<\/li><\/ul>$)/', '', $block->list()->value()))

a year ago

This has to account for nested lists

a year ago