• Brooke.

    (@brookedot)


    I’ve been testing WordPress 6.4-RC1 (along with Gutenberg 16.8.1) and experienced the same behavior that was reported a few months ago in: https://www.ads-software.com/support/topic/jvm-rich-text-icons-block-editor-shows-whitespace-instead-of-inline-icon/

    The icons don’t show in WP-Admin. I’m not sure if this is because I’m using a custom icon set using the jvm_richtext_icons_css_file hook or if the problem applies to Font Awesome as well. However, I was able to load my icons in the admin with the following filter:

    function jvm_richtext_icons_admin_block_styles() {
        if ( is_admin() ) {
            wp_enqueue_style( 'jvm_richtext_admin_icons', get_stylesheet_directory() . '/assets/icons/icons.css' );
        }
    }
    add_action( 'enqueue_block_assets', 'jvm_richtext_icons_admin_block_styles' );

    I briefly looked for a way to fix this in the plugin’s init file but didn’t see a clear way.

    Reporting it here if others are having this problem with 6.4 of if you wish to release a new version with a proper fix.

  • The topic ‘WordPress 6.4 Editor Styles Not Loading’ is closed to new replies.