Skip to content

Commit

Permalink
Add: Format library to the widget screen. (#15948)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta authored Jun 7, 2019
1 parent d9debc1 commit ace322f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/widgets-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

0 comments on commit ace322f

Please sign in to comment.