WordPress at Your Fingertips
action is not described

enqueue_block_editor_assets action-hook . WP 5.0.0

Fires after block assets have been enqueued for the editing interface.

Call add_action on any hook before admin_enqueue_scripts.

In the function call you supply, simply use wp_enqueue_script and wp_enqueue_style to add your functionality to the block editor.

Usage

add_action( 'enqueue_block_editor_assets', 'action_function_name_1449' );
function action_function_name_1449(){
	// action...
}

Changelog

Since 5.0.0 Introduced.

Where the hook is called

In file: /wp-admin/edit-form-blocks.php
enqueue_block_editor_assets
wp-admin/edit-form-blocks.php 252
do_action( 'enqueue_block_editor_assets' );
wp-includes/class-wp-customize-widgets.php 873
do_action( 'enqueue_block_editor_assets' );
wp-admin/widgets-form-blocks.php 64
do_action( 'enqueue_block_editor_assets' );

Where in WP core the hook is used WordPress

wp-admin/widgets-form-blocks.php 35
remove_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' );
wp-includes/default-filters.php 561
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_registered_block_scripts_and_styles' );
wp-includes/default-filters.php 562
add_action( 'enqueue_block_editor_assets', 'enqueue_editor_block_styles_assets' );
wp-includes/default-filters.php 563
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' );
wp-includes/default-filters.php 564
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_format_library_assets' );