[wp-trac] [WordPress Trac] #51490: Editor Styles Not Loading in Correct Sequence for Blocks

WordPress Trac noreply at wordpress.org
Thu Jan 28 22:44:20 UTC 2021


#51490: Editor Styles Not Loading in Correct Sequence for Blocks
-------------------------------+------------------------------
 Reporter:  susanwrotethis     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  5.5.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  css
-------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => reporter-feedback


Comment:

 Hi @susanwrotethis and thanks for opening the ticket!

 Please confirm whether you have both of these:
 {{{
 add_theme_support( 'editor-styles' );
 add_editor_style();
 }}}

 [https://github.com/WordPress/gutenberg/issues/12169 A similar report is
 on GitHub] regarding the documentation for `add_theme_support` plus
 `add_editor_style` with the block editor. The theme support function is
 supposed to include `editor-styles`, and `add_editor_style` does not have
 the s.

 - [https://developer.wordpress.org/block-editor/developers/themes/theme-
 support/#editor-styles block editor documentation for both these
 functions]
 - [https://developer.wordpress.org/reference/functions/add_editor_style/
 add_editor_style documentation]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51490#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list