Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Markdown: Leave Gutenberg content intact (#10635)
This PR updates the Markdown module to leave any Gutenberg content untouched, in order to not mess up the block markup validation and parsing. Fixes #10634 #### Changes proposed in this Pull Request: * Update the Markdown module to leave untouched any content that contains Gutenberg blocks. #### Testing instructions: * Make sure you have the latest WordPress 5.0 beta. * Checkout this branch. * Make sure your site is connected. * Make sure Markdown is enabled. * Write a Gutenberg post with various blocks. * After saving and refreshing, verify there are no validation errors. * Try the Markdown block. * Verify it works well with various content. * Install and activate the Classic Editor plugin. * Write a post in the classic editor and verify Markdown still works well there. #### Proposed changelog entry for your changes: * Make Markdown module compatible with the Gutenberg editor in WordPress 5.0.
- Loading branch information