Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#50057 closed defect (bug) (reported-upstream)

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

Reported by: arpadkdweb's profile arpadkdweb Owned by:
Milestone: 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 5 years ago.
screenshot

Download all attachments as: .zip

Change History (5)

@arpadkdweb
5 years ago

screenshot

#1 @Otto42
5 years 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
4 years 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 4 years ago by dberdal (previous) (diff)

#3 @fabrizim
4 years 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 4 years ago by fabrizim (previous) (diff)

#4 @noisysocks
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.