c8ef0fb3af
* WIP: experimenting with strategy pattern for block registration * Add TemplateChangeDetector to BlocksRegistrationManager * Handle blocks registration * Fix issue causing blocks to be registered multiple times * Allow register/unregister blocks when on pages or posts * Add BlockRegistrationStrategy logic * Fix import error * Add doc comments for BlockRegistrationManager class * Add doc comments to TemplateChangeDetector class * Fix eslint errors * Import domReady from @wordpress/dom-ready * Prevent error when using blockName for registerBlockType function * Add e2e tests to check for block availability in different contexts * Add e2e tests to cover block availability on different contexts |
||
---|---|---|
.. | ||
css | ||
js |