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.

The way things work if you wanted to add a custom css class to an element in a nested block you would have to remove it from the nested block, add the css class, then put it back in the nested block.

Version 0, edited 2 months ago by dberdal (next)

#3 @fabrizim
5 weeks ago

I'm also seeing this behavior in 5.5.1. I need to go to "Manage all Reusable Blocks" and edit from within that context.

Last edited 5 weeks ago by fabrizim (previous) (diff)
Note: See TracTickets for help on using tickets.