Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent RESET_BLOCKS from affecting reusable blocks #11746
Changes the editor reducer so that RESET_BLOCKS will only remove blocks that are actually in the post, i.e. blocks that are a descendent of the
This fixes a bug where editing a post in Text Mode would break any reusable blocks in the post.
How to test
Yeah, I know. But there's a bit of happiness that we will ship 5.0 without this bug!