[wp-trac] [WordPress Trac] #64967: Bug report – Whitespace / non-breaking spaces removed after save in Gutenberg

WordPress Trac noreply at wordpress.org
Fri Apr 3 10:28:21 UTC 2026


#64967: Bug report – Whitespace / non-breaking spaces removed after save in
Gutenberg
--------------------------+------------------------------
 Reporter:  testwp75      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by devasheeshkaul):

 == Reproduction Report
 === Description
 ❌ This report can't validate whether the issue can be reproduced.


 === Environment
 - WordPress: 7.1-alpha-62161-src
 - PHP: 8.3.30
 - Server: nginx/1.29.7
 - Database: mysqli (Server: 8.4.8 / Client: mysqlnd 8.3.30)
 - Browser: Chrome 146.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps Performed
 1. Copied content from Google Docs/Microsoft Word
 2. Added a new Paragraph block and pasted the copied content
 3. Saved the changes
 4. Verified that no spaces were missing between words

 === Actual Results
 1.  ❌ Error condition couldn't be reproduced.

 === Additional Notes
 - Tested using both Google Docs and Microsoft Word, but the issue could
 not be reproduced in either case
 - Tried making multiple edits before and after pasting, as well as testing
 without any additional changes after pasting but no missing spaces were
 observed
 - Restored an autosave version of the newly pasted content, but the issue
 still could not be reproduced
 - Checked both in the editor and on the frontend; the text was copied and
 displayed correctly

 === Supplemental Artifacts
 Editor:
 [[Image(https://i.ibb.co/8LKYgZqb/Screenshot-2026-04-03-at-3-49-53-PM.png)]]

 Frontend:
 [[Image(https://i.ibb.co/mrvPD5Rj/Screenshot-2026-04-03-at-3-50-03-PM.png)]]

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


More information about the wp-trac mailing list