wautop from code view in classic editor #5783
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Type] Enhancement
A suggestion for improvement.
Milestone
Issue Overview
If you edit an existing Gutenberg edited page that has blocks, then edit the page/post using the classic editor using its code view, switch to visual, then save, and then switch back to the Gutenberg editor, any lines that were blank will have a
<p> </p>
added, generating tons of new, unwanted blocks.And people WILL do this.
Steps to Reproduce (for bugs)
Expected Behavior
Layout looks the same in Gutenberg before and after editing with classic editor.
Current Behavior
Unwanted new
<p>
blocks.Possible Solution
Disable wautop when Gutenberg has been used.
Screenshots / Video
Related Issues and/or PRs
Todos
The text was updated successfully, but these errors were encountered: