v1.2.0
Added
- ensureHashed() field method: New field method to ensure a string starts with a hash (#). This complements the existing ensureLeft() and ensureRight() methods for consistent string formatting.
- getUsedBlockTypes() function: Extract all used block types from a Blocks object or array of blocks. Useful for conditional CSS loading based on which blocks are used on a page. Returns an array of unique block type strings.
Changed
- Updated README documentation
- Updated composer.json
Full Changelog: v1.1.0...v1.2.0