mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52160 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -582,6 +582,7 @@ add_action( 'wp_footer', 'wp_maybe_inline_styles', 1 ); // Run for late-loaded s
|
||||
add_action( 'admin_footer-post.php', 'wp_add_iframed_editor_assets_html' );
|
||||
add_action( 'admin_footer-post-new.php', 'wp_add_iframed_editor_assets_html' );
|
||||
add_action( 'admin_footer-widgets.php', 'wp_add_iframed_editor_assets_html' );
|
||||
add_action( 'admin_footer-site-editor.php', 'wp_add_iframed_editor_assets_html' );
|
||||
|
||||
add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 );
|
||||
add_action( 'edit_form_after_title', '_disable_content_editor_for_navigation_post_type' );
|
||||
|
||||
Reference in New Issue
Block a user