AbstractBlock::enqueue_editor_assets()
Enqueue assets used for rendering the block in editor context.
Description Description
This is needed if a block is not yet within the post content–render
and enqueue_assets
may not have ran.
Source Source
File: packages/woocommerce-blocks/src/BlockTypes/AbstractBlock.php