WordPress.org

Make WordPress Core

Opened 7 months ago

Last modified 5 weeks ago

#50057 new defect (bug)

"No block selected" when trying to edit reusable block inline

Reported by: arpadkdweb Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4
Component: Editor Keywords:
Focuses: ui, administration Cc:

Description

When editing previously saved reusable blocks, the block cannot use the InspectorControls. In the sidebar it say there is no block selected.

Attachments (1)

bug.gif (170.5 KB) - added by arpadkdweb 7 months ago.
screenshot

Download all attachments as: .zip

Change History (4)

@arpadkdweb
7 months ago

screenshot

#1 @Otto42
7 months ago

  • Component changed from General to Editor
  • Severity changed from major to normal

It seems like the editing settings for the paragraph (in your case) get applied to the reusable block as a whole.

When you click edit on the reusable block, then click into the Paragraph, if you then click between the paragraph block and the name bar above it, then all the settings appear on the right hand sidebar. Additionally, all the paragraph's editing menu bars move to the reusable block menu bar itself.

This may be the same as https://github.com/WordPress/gutenberg/issues/19436

#2 @dberdal
2 months ago

Additionally, all the paragraph's editing menu bars move to the reusable block menu bar itself.

This isn't really a good workaround since a reusable block may contain many nested blocks. All of these blocks will have the "Advanced" section.

There is no way to drag an element in our out of a nested block so once a reusable block is created you can effectively no longer add a custom css class to a single element.

Last edited 2 months ago by dberdal (previous) (diff)

#3 @fabrizim
5 weeks ago

I'm also seeing this behavior in 5.5.1.

Version 0, edited 5 weeks ago by fabrizim (next)
Note: See TracTickets for help on using tickets.