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

Allow users to insert/move blocks within an inner block but not move blocks outside #22242

Closed
chvillanuevap opened this issue May 9, 2020 · 1 comment
Labels
[Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P

Comments

@chvillanuevap
Copy link

I was reading issue #11131 as I'm having a similar problem. I have an inner block that allows paragraphs to be added inside. I would like the user to be able to insert and delete blocks, but only be able to move blocks within the inner block. Right now there is not an option for that. "all" prevents inserting/deleting/moving blocks; "insert" prevents moving blocks outside the inner block, but does not allow inserting/deleting new blocks.

I would like to suggest a third option, something like "moveOut" where the user can insert/delete blocks, and move them, but only within the inner block. Does that make sense?

@chrisvanpatten
Copy link
Contributor

Hi @chvillanuevap — I believe your request relates to #8112. To keep the conversation in one spot, I'd ask you to put a comment on that thread as there's a lot of related discussion there as well!

@chrisvanpatten chrisvanpatten added the [Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P label May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Nested / Inner Blocks Anything related to the experience of nested/inner blocks inside a larger container, like Group or P
Projects
None yet
Development

No branches or pull requests

2 participants