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

Column block - Removing the column layout without removing content #37527

Open
juliemoynatPro opened this issue Dec 20, 2021 · 2 comments
Open
Labels
[Block] Columns Affects the Columns Block Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@juliemoynatPro
Copy link

juliemoynatPro commented Dec 20, 2021

What problem does this address?

I'd like to be able to remove the columns layout without removing the content. This is really frustrating and I did not understand well how it works at first so, I've created columns in columns… No way to deactivate the columns whereas we can ungroup groups, we can't uncolumn columns.

(See also #9009 about the content being deleted when removing columns - but we can't remove all columns to have zero)

What is your proposed solution?

Add a button to remove the columns layout just like the group layout with the "Ungroup" option.

@karmatosed karmatosed added Needs Design Feedback Needs general design feedback. [Block] Columns Affects the Columns Block labels Dec 20, 2021
@karmatosed
Copy link
Member

@juliemoynatPro that's an interesting request and whilst you can change type to group all that does is 'wrap' the column in group. I would also expect that to remove columns and make it all a group. I am going to add a few labels for others to add thoughts, because to me this could be useful.

@javierarce
Copy link
Contributor

I think this is a good idea and will improve what @karmatosed mentions: that right now, "transforming to group" doesn't transform anything, it just groups blocks.

In this case, I can imagine "transform to group" having the following effect:

Before After
Columns
└ Column
    └ Paragraph
└ Column
    └ Paragraph
Group
└ Paragraph
└ Paragraph

The downside to this approach is the wrapping behavior is currently the default one, so this change would be an exception. The positive aspect is that this wouldn't require any change to the UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Columns Affects the Columns Block Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants