Skip to content

Commit 9aca367

Browse files
committed
fix: load newspack ui in iframe editor
1 parent 6233677 commit 9aca367

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/class-newspack-ui.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Newspack_UI {
2828
public static function init() {
2929
\add_action( 'wp_enqueue_scripts', [ __CLASS__, 'enqueue_assets' ] );
3030
\add_action( 'admin_enqueue_scripts', [ __CLASS__, 'enqueue_assets' ] );
31-
\add_action( 'enqueue_block_editor_assets', [ __CLASS__, 'enqueue_assets' ] );
31+
\add_action( 'enqueue_block_assets', [ __CLASS__, 'enqueue_assets' ] );
3232
\add_filter( 'the_content', [ __CLASS__, 'load_demo' ] );
3333
\add_action( 'admin_enqueue_scripts', [ __CLASS__, 'theme_colors_css' ] );
3434
// Only run if the site is using a block theme.

0 commit comments

Comments
 (0)