[wp-trac] [WordPress Trac] #65335: Show a warning message about a commented-out Gutenberg block in the Classic Editor.

WordPress Trac noreply at wordpress.org
Mon May 25 07:15:40 UTC 2026


#65335: Show a warning message about a commented-out Gutenberg block in the Classic
Editor.
-----------------------------+-------------------------------------
 Reporter:  blackstar1991    |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  7.0
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui, accessibility, css
-----------------------------+-------------------------------------

Comment (by ankitkumarshah):

 Hi @blackstar1991, I was able to reproduce this behavior.

 I agree that this can create a confusing editing experience in the Classic
 Editor. Since Gutenberg block markup is stored inside HTML comments, the
 Visual tab may appear empty or incomplete even though content still exists
 in the Text/Code tab.

 I think adding a notice would be a good improvement here. Placing a notice
 directly below the Add Media button could make it visible without
 interrupting the editing flow.

 The notice could appear only when WordPress block syntax (for example
 `<!-- wp:`) is detected,
 This would help editors understand that the page may still contain
 Gutenberg block content.

 [[Image(https://i.postimg.cc/nLCcQwsD/Screenshot-2026-05-25-at-12-44-12-PM.png)]]
 [[Image(https://i.postimg.cc/3xLxNHwX/Screenshot-2026-05-25-at-12-44-19-PM.png)]]

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


More information about the wp-trac mailing list