[wp-trac] [WordPress Trac] #53460: There are no blocks in the block inserter, when you press the Add Block button in the widget area on the Widgets screen.
WordPress Trac
noreply at wordpress.org
Sun Jun 20 10:19:28 UTC 2021
#53460: There are no blocks in the block inserter, when you press the Add Block
button in the widget area on the Widgets screen.
--------------------------+-----------------------------
Reporter: thingsym | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
== Describe the bug
When there are no blocks in the widget area, I can't select a block
because the block list is not displayed in the block inserter.
== To Reproduce

Steps to reproduce the behavior:
1. Make sure there are no blocks in the widget area of the Widgets screen
2. Click Add block button
3. The blank toolbar just disappears and nothing happens
4. Click Add block button again, the floated block inserter is displayed
5. Click Browse all, the block inserter is displayed
6. The block list is not displayed in the block inserter, you can only
search
== Expected behavior
* The block inserter should display the block list.
* Need the initial block `Type / to choose a block` in the widget area, if
the widget area is blank.
== Solution
It seems that the cause is that there is no block in the initial state in
the widget area, so it is better to prepare the initial block `Type / to
choose a block` like the post screen.
== Additional context
* WordPress version 5.8-beta2
* Twenty Twenty-One Version: 1.3
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53460>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list