plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
448 stars 610 forks source link

Blocks in edit mode have a duplicated wrapper #2338

Closed sneridagh closed 3 years ago

sneridagh commented 3 years ago

Describe the bug

Screenshot 2021-04-06 at 10 19 31

https://github.com/plone/volto/blob/dce52d08956d405dc7e07135164a55d8d61303d3/src/components/manage/Blocks/Block/EditBlockWrapper.jsx#L50

and

https://github.com/plone/volto/blob/c0a983cc2bf63e89709215e420b3d52a7880814e/src/components/manage/Blocks/Block/Edit.jsx#L128

Expected behavior Only one wrapper is present.

Additional context Cypress tests and CSS selectors are affected.

sneridagh commented 3 years ago

Which one is the safest to remove?

tiberiuichim commented 3 years ago

Edit.jsx