Crashed block z-index problem with add new block button #8868
Labels
[Feature] Blocks
Overall functionality of blocks
[Type] Bug
An existing feature does not function as intended
Describe the bug
If a block crashes it shows a crashed block warning. There is some z-index issue with this and the inline 'add new block' button:
To Reproduce
Steps to reproduce the behavior:
wp.blocks.registerBlockType( 'myplugin/mr-crashy', { title: 'Mr. Crashy', category: 'common', icon: 'warning', edit() { throw new Error(); }, save() { return ''; } } );
Expected behavior
The inline block buttons should appear over the crash warning
There's also a slight overlap in the crash warning that can be fixed by changing
block-list/style.scss
with:The text was updated successfully, but these errors were encountered: