[wp-trac] [WordPress Trac] #54158: Themes should be updated to use add_editor_style
WordPress Trac
noreply at wordpress.org
Tue Sep 21 20:11:02 UTC 2021
#54158: Themes should be updated to use add_editor_style
--------------------------+-----------------------------
Reporter: gwwar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
twentyten, twentyeleven, twentytwelve, twentythirteen, twentyfourteen,
twentyfifteen, twentysixteen, twentyseventeen, and twentytwenty should be
updated to enqueue editor styles using `add_editor_style` instead of
`wp_enqueue_style`
In the block editor, with the sidebar open if we insert a block that has a
styles panel (like an image, social links or site logo) a JS error is
thrown: "Stylesheet ... was not not properly added"
[[Image(https://user-images.githubusercontent.com/1270189/134224724
-d44aa9aa-53a0-4303-9010-cc556ae327fd.png)]]
https://user-
images.githubusercontent.com/1270189/134224669-dc52f333-74cc-4599-9c93-e30827e7cf22.mp4
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54158>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list