[wp-trac] [WordPress Trac] #64771: Existing block level custom CSS in a post breaks when the post is edited by user without unfiltered_html

WordPress Trac noreply at wordpress.org
Wed Apr 1 06:02:21 UTC 2026


#64771: Existing block level custom CSS in a post breaks when the post is edited by
user without unfiltered_html
--------------------------------------------------+---------------------
 Reporter:  glendaviesnz                          |       Owner:  (none)
     Type:  defect (bug)                          |      Status:  new
 Priority:  high                                  |   Milestone:  7.0
Component:  Editor                                |     Version:  trunk
 Severity:  critical                              |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-opinion  |     Focuses:
--------------------------------------------------+---------------------

Comment (by ramonopoly):

 > 1. Revert the whole block level css feature and punt it to 7.1
 > 2. Find a solution for the issue on this feature during the small amount
 of time we have until 7.0 is released
 > 3. Show a simple warning notice and punt a more complete solution to 7.1


 From what I've read so far, `2` isn't feasible and the strip + warning was
 the compromise to all the suggestions offered so far.

 The strip + warning PR has been approved for the plugin, with a Core patch
 still to come I guess: https://github.com/WordPress/gutenberg/pull/76650

 So that implies `3` could be acceptable to folks?

 @glendaviesnz might be able to shed light on the implications of a full
 revert + punt.

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


More information about the wp-trac mailing list