Make WordPress Core

Changeset 52160


Ignore:
Timestamp:
11/15/2021 10:59:48 AM (2 months ago)
Author:
noisysocks
Message:

Editor: Load iframed assets in Site Editor

Configure the Site Editor to load iframed block editor assets. This fixes some
styling issues in the Site Editor.

Follows [52069].
See #54337.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r52145 r52160  
    583583add_action( 'admin_footer-post-new.php', 'wp_add_iframed_editor_assets_html' );
    584584add_action( 'admin_footer-widgets.php', 'wp_add_iframed_editor_assets_html' );
     585add_action( 'admin_footer-site-editor.php', 'wp_add_iframed_editor_assets_html' );
    585586
    586587add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 );
Note: See TracChangeset for help on using the changeset viewer.