I don't think it's a dupe. #5893 is referring to shared blocks not appearing in the inserter when allowed_block_types is set to false, whereas #6070 is referring to all blocks mistakenly appearing in the / command regardless of what allowed_block_types is set to.
The blocks autocompleter (what you get when you type a /) doesn't respect the
Steps to Reproduce (for bugs)
Only the Paragraph, Image and Quote bugs should appear in the dropdown.
Shared blocks should be properly filtered when using
All blocks should appear in the dropdown.
If you limit the blocks which can be shown using the allowed_block_types filter then shared blocks do not appear in the 'Shared' block inserter tab.
getInserterItemsselector will correctly filter out non-allowed blocks if you pass the editor setting as its second argument.
Screenshots / Video
Related Issues and/or PRs
#4225 #3791 — both of these would also be fixed by the above suggested solution.
The text was updated successfully, but these errors were encountered: