[wp-trac] [WordPress Trac] #59086: Twenty Twenty Theme black background hides text editing after 6.3 update

WordPress Trac noreply at wordpress.org
Sun Aug 13 04:19:50 UTC 2023


#59086: Twenty Twenty Theme black background hides text editing after 6.3 update
---------------------------+------------------------------
 Reporter:  floydwilde     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  6.3
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by poena):

 Hi!
 Thank you for the report. I can confirm this issue.

 Steps to reproduce:

 1) Activate Twenty-Twenty
 2) Go to Appearance > Customize
 3) Select the Colors panel, change the background color to black
 4) Open the block editor

 I see a quick flash of the text content; then, it becomes unreadable.

 ----

 The theme uses 'enqueue_block_editor_assets' to enqueue the CSS in the
 block editor, and this causes issues with the new iframe, and the
 following JavaScript warnings:


 {{{
 twentytwenty-block-editor-styles-css was added to the iframe incorrectly.
 Please use block.json or enqueue_block_assets to add styles to the iframe.
 }}}


 {{{
 twentytwenty-block-editor-styles-inline-css was added to the iframe
 incorrectly. Please use block.json or enqueue_block_assets to add styles
 to the iframe.
 }}}

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


More information about the wp-trac mailing list