-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Backwards CompatibilityIssues or PRs that impact backwards compatabilityIssues or PRs that impact backwards compatability
Milestone
Description
Issue Overview
For GB 2.7:
I don't think gutenberg_disable_editor_settings_wpautop is working as expected. I would hope that it would prevent editing a GB post with the classic editor would prevent it from changing all the blank lines between the GB blocks into <p> </p> which then add lines and show up in GB as a Classic block.
Steps to Reproduce (for bugs)
- Create a page/post with Gutenberg blocks (duplicate one you already have
- From the All Pages/Posts view, edit that page in the Classic Editor, save
- Open same page in Gutenberg - all the formerly blank lines have been changed to <p> </p> with unintended consequences.
- It seems from the comments that gutenberg_disable_editor_settings_wpautop is supposed to prevent that, but it doesn't.
Expected Behavior
Current Behavior
Possible Solution
Maybe changing the priority of the gutenberg_disable_editor_settings_wpautop filter?
Screenshots / Video
Related Issues and/or PRs
Todos
- Tests
- Documentation
Metadata
Metadata
Assignees
Labels
Backwards CompatibilityIssues or PRs that impact backwards compatabilityIssues or PRs that impact backwards compatability