Make WordPress Core


Ignore:
Timestamp:
02/17/2022 02:12:59 PM (2 years ago)
Author:
jorgefilipecosta
Message:

Global Styles: Load the global styles before the theme styles in the editor.

This commit makes the site editor follow what we do in the front-end, where theme styles are loaded after global styles by default.

Props oandregal, ntsekouras.
Fixes #55188.

File:
1 edited

Legend:

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

    r52593 r52752  
    192192    'bodyPlaceholder'                      => $body_placeholder,
    193193    'autosaveInterval'                     => AUTOSAVE_INTERVAL,
    194     'styles'                               => get_block_editor_theme_styles(),
    195194    'richEditingEnabled'                   => user_can_richedit(),
    196195    'postLock'                             => $lock_details,
Note: See TracChangeset for help on using the changeset viewer.