Skip to content

Commit

Permalink
Add: Format library to the widget screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jun 7, 2019
1 parent f410c46 commit b4d14bf
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 b4d14bf

Please sign in to comment.