Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid single child layout containers #2388

Merged
merged 11 commits into from
Aug 21, 2023

Conversation

apedroferreira
Copy link
Member

@apedroferreira apedroferreira commented Jul 28, 2023

Make it so that we don't need page rows to wrap single elements, which makes it so we don't have to filter anything in the Hierarchy Explorer - it shows the page content exactly as it is in the DOM.

Optimizes pages according to this when writing to disk or merging pages to the DOM too, as had been discussed before.

Also includes some general improvements and fixes to the editor/drag-and-drop, mostly to keep everything consistent with this.

Closes #2302

@apedroferreira apedroferreira self-assigned this Jul 28, 2023
@apedroferreira apedroferreira changed the title Don't keep single child layout containers on delete + don't create th… Avoid single child layout containers Jul 28, 2023
@apedroferreira apedroferreira marked this pull request as ready for review August 18, 2023 16:48
@apedroferreira apedroferreira merged commit faff5db into mui:master Aug 21, 2023
@apedroferreira apedroferreira deleted the no-single-child-page-rows branch August 21, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclude page row from layout definition in rows with one single element
2 participants