This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
Block Lab v1.5.0
Ready for a big release? We're really happy to be introducing quite a number of highly requested features, including a PHP API for registering blocks with code, a new text field with lists and headings, and some neat workflow efficiencies when building your block.
- New: There's now a PHP API for registering blocks using code (instead of the WP Admin UI). Documentation is here for now, but more on its way soon
- New: Classic Text control (for Block Lab Pro users)! This field is similar to Rich Text, but has a few extra options for things like lists and headings
- New: Duplicate fields – building your block is now so much easier, with the ability to duplicate rows
- New: Repeater Row Count function – a helper function that returns the total amount of rows in a given repeater. Documentation here
- New: Repeater Row Index function – a helper function that returns the current row, while looping through a repeater. Documentation here
- Tweak: We've removed our dependency on global variables. This is mostly a best practice thing, not user facing. More details here.
- Tweak: We've refactored quite a lot about our block Loader class, to make it more robust, secure, and maintainable
- Tweak: Loads of new unit and integration tests - these help prevent us from introducing bugs or regressions in the future
- Fix: Bug which affected sites which had removed or renamed the admin user role
- Fix: Empty Rich Text fields now no longer output a single
</p>
tag