[wp-trac] [WordPress Trac] #53564: Twenty Twenty-One: Consider adding block-templates support

WordPress Trac noreply at wordpress.org
Wed Jul 7 18:01:45 UTC 2021


#53564: Twenty Twenty-One: Consider adding block-templates support
---------------------------+------------------------------
 Reporter:  kjellr         |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by jffng):

 I tested this and see the same thing as @poena:

 [[Image(https://cldup.com/ESOW-BvrgF-3000x3000.png)]]

 The following console error is thrown when template editing mode is
 initialized:


 {{{
 Stylesheet  was not properly added.
 For blocks, use the block API's style (https://developer.wordpress.org
 /block-editor/reference-guides/block-api/block-metadata/#style) or
 editorStyle (https://developer.wordpress.org/block-editor/reference-guides
 /block-api/block-metadata/#editor-style).
 For themes, use add_editor_style (https://developer.wordpress.org/block-
 editor/how-to-guides/themes/theme-support/#editor-styles). <link
 rel=​"stylesheet" href=​"http:​/​/​wordpressbeta.local/​wp-admin/​load-
 styles.php?c=1&dir=ltr&load%5Bchunk_0%5D=dashicons,admin-bar,buttons
 ,media-views,editor-buttons,wp-components,wp-block-editor,wp-nux,wp-
 reusable-blocks,wp-editor,common,&load%5Bchunk_1%5D=forms,wp-reset-editor-
 styles,wp-block-library,wp-editor-classic-layout-styles,wp-edit-blocks,wp-
 edit-post,wp-block-directory,wp-&load%5Bchunk_2%5D=format-library,admin-
 menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-
 pointer,widgets,site-icon,l10n,wp&load%5Bchunk_3%5D=-auth-check,wp-block-
 library-theme&ver=5.8-RC2-51366" media=​"all">​
 (anonymous) @ block-editor.min.js?ver=ccce823101eb1098c67ccbd5ea53f37a:12
 <link rel="stylesheet" href="http://wordpressbeta.local/wp-admin/load-
 styles.php?c=1&dir=ltr&load%5Bchunk_0%5D=dashicons,admin-
 bar,buttons,media-views,editor-buttons,wp-components,wp-block-editor,wp-
 nux,wp-reusable-blocks,wp-editor,common,&load%5Bchunk_1%5D=forms,wp-
 reset-editor-styles,wp-block-library,wp-editor-classic-layout-styles,wp-
 edit-blocks,wp-edit-post,wp-block-directory,wp-&load%5Bchunk_2%5D
 =format-library,admin-menu,dashboard,list-
 tables,edit,revisions,media,themes,about,nav-menus,wp-pointer,widgets
 ,site-icon,l10n,wp&load%5Bchunk_3%5D=-auth-check,wp-block-library-
 theme&ver=5.8-RC2-51366" media="all">
 }}}

 WordPress 5.8-RC2-51366
 Chrome Version 91.0.4472.106 (Official Build) (x86_64)

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


More information about the wp-trac mailing list