Description
The global styles "additional CSS" feature may fail to save without displaying any information to the user.
This happens at /wp-admin/site-editor.php?p=%2Fstyles§ion=%2Fcss:
If you click on the page to open the full block editor canvas, the error messages appear:
Any errors should be displayed in both views.
Related to #57245.
Step-by-step reproduction instructions
- Visit
/wp-admin/site-editor.php?p=%2Fstyles§ion=%2Fcss.
- Enter
/* </style> */ in the additional CSS input.
- Open the network tab in the browser console to observe the failed save request.
- Save the changes.
- Notice that no error message is displayed.
- Notice that the browser responds with a 400, the content has not been saved.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
The global styles "additional CSS" feature may fail to save without displaying any information to the user.
This happens at
/wp-admin/site-editor.php?p=%2Fstyles§ion=%2Fcss:If you click on the page to open the full block editor canvas, the error messages appear:
Any errors should be displayed in both views.
Related to #57245.
Step-by-step reproduction instructions
/wp-admin/site-editor.php?p=%2Fstyles§ion=%2Fcss./* </style> */in the additional CSS input.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.