Skip to content

Commit

Permalink
Add in components and editor to the dependency list, which helps when…
Browse files Browse the repository at this point in the history
… working on WP5.0 Bleeding edge
  • Loading branch information
jghazally committed Nov 26, 2018
1 parent 9c75a18 commit f65b954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function enqueue_block_editor_assets() {
wp_enqueue_script(
'wds-blocks-editor-js',
plugins_url( 'dist/blocks.build.js', __DIR__ ),
[ 'wp-blocks', 'wp-i18n', 'wp-element' ], // Dependencies, defined above.
[ 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ], // Dependencies, defined above.
filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.build.js' )
);

Expand Down

0 comments on commit f65b954

Please sign in to comment.