Skip to content

Commit

Permalink
Eliminate inclusion of amp-runtime in Gutenberg editor since AMP comp…
Browse files Browse the repository at this point in the history
…onents cannot yet be used in the React context
  • Loading branch information
westonruter committed May 21, 2018
1 parent e3dab51 commit f05bfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/class-amp-editor-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function add_editor_filters() {
wp_enqueue_script(
'amp-editor-blocks',
amp_get_asset_url( 'js/amp-editor-blocks.js' ),
array( 'amp-runtime', 'underscore', 'wp-hooks', 'wp-i18n' ),
array( 'underscore', 'wp-hooks', 'wp-i18n' ),
AMP__VERSION,
true
);
Expand Down

0 comments on commit f05bfb7

Please sign in to comment.