diff --git a/lib/widgets-page.php b/lib/widgets-page.php index 858866c02f1755..f790e60d24b7a1 100644 --- a/lib/widgets-page.php +++ b/lib/widgets-page.php @@ -68,6 +68,8 @@ function gutenberg_widgets_init( $hook ) { 'wp.blocks.unstable__bootstrapServerSideBlockDefinitions(' . wp_json_encode( get_block_editor_server_block_settings() ) . ');' ); wp_enqueue_script( 'wp-edit-widgets' ); + wp_enqueue_script( 'wp-format-library' ); wp_enqueue_style( 'wp-edit-widgets' ); + wp_enqueue_style( 'wp-format-library' ); } add_action( 'admin_enqueue_scripts', 'gutenberg_widgets_init' );