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
Only show transforms to blocks that can be inserted on the root block; Order transforms by frecency; #7184
This PR makes sure we can only transform to blocks that can be inserted in the root block.
Test block: https://gist.github.com/jorgefilipecosta/b958239761a24664685d5efc7ab48fa6
How has this been tested?
Use a block that sets allowed blocks in the nested area (test block). Verify it is only possible to transform blocks to the allowed blocks (list and quote).
Verify the order blocks appear on the transformations list is the same as the order they appear on the inserted.