[wp-trac] [WordPress Trac] #58835: Twenty Twenty-One: Dark mode is not enabled in the block editor iframe

WordPress Trac noreply at wordpress.org
Wed Jul 19 12:10:07 UTC 2023


#58835: Twenty Twenty-One: Dark mode is not enabled in the block editor iframe
-------------------------------------+---------------------
 Reporter:  poena                    |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.3
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by huzaifaalmesbah):

 The problem has been resolved with the patch. I am in agree with this
 solution. The code provided by @poena works perfectly fine.


 {{{
 Replace enqueue_block_editor_assets with enqueue_block_assets
 }}}


 **Before Patch**
 ----------------
 [[Image(https://i.ibb.co/Bj5HmFq/Before-patch.png)]]

 **After Patch**
 ----------------
 [[Image(https://i.ibb.co/5x9LB7L/After-patch.png)]]

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


More information about the wp-trac mailing list