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

Form Block: prioritize inner blocks in the inserter #31716

Closed
Tracked by #32865
jeherve opened this issue Jul 6, 2023 · 0 comments · Fixed by #34247
Closed
Tracked by #32865

Form Block: prioritize inner blocks in the inserter #31716

jeherve opened this issue Jul 6, 2023 · 0 comments · Fixed by #34247
Assignees
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Contact Form [Package] Forms [Pri] Normal [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it

Comments

@jeherve
Copy link
Member

jeherve commented Jul 6, 2023

When using the Form block, once you've inserted a basic form you can add additional blocks inside the form. Most people will use that option to add additional fields, such as checkboxes, radio boxes, or text fields they may need in their form in addition to the default ones.

Today, when you want to add an additional block, core blocks come up first:

Screenshot 2023-07-06 at 13 06 55

Ideally, we would show Jetpack Form inner blocks in there first.

This should now be possible starting in WordPress 6.3, using the new prioritizedInserterBlocks API introduced in WordPress/gutenberg#50510
Let's see if we can leverage that in Jetpack.

Primary issue: #31638

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Contact Form Form block (also see Contact Form label) [Feature] Contact Form [Package] Forms [Pri] Normal [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant