Make WordPress Core


Ignore:
Timestamp:
07/21/2020 03:36:17 PM (4 years ago)
Author:
desrosj
Message:

Editor: Ensure the required assets for the block directory are enqueued.

This fixes an issue where the block directory appears unstyled due to the stylesheets not being enqueued.

Props ryelle, timothyblynjacobs, earnjam.
Fixes #50661.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-blocks.php

    r48527 r48537  
    366366wp_tinymce_inline_scripts();
    367367wp_enqueue_editor();
    368 wp_enqueue_script( 'wp-block-directory' );
     368
    369369
    370370/**
     
    373373wp_enqueue_style( 'wp-edit-post' );
    374374wp_enqueue_style( 'wp-format-library' );
    375 wp_enqueue_style( 'wp-block-directory' );
    376375
    377376/**
Note: See TracChangeset for help on using the changeset viewer.