enqueue_block_editor_assets not working in Full site editor
-
Hello,
I’ve just updated WP to 6.2 released yesterday.
Custom editor.css file that doesn’t get enqueued anymore in the Full site editor’s iframe through the enqueue_block_editor_assets action.add_action('enqueue_block_editor_assets', function(){ $theme_version = wp_get_theme()->get( 'Version' ); $version_string = is_string( $theme_version ) ? $theme_version : false; wp_enqueue_style('mmk-editor-style', get_template_directory_uri() . '/editor.min.css', array(), $version_string); });
Thank you,
AJB
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘enqueue_block_editor_assets not working in Full site editor’ is closed to new replies.