WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.51k stars 4.2k forks source link

Remove design-oriented controls from Cover block toolbar while in Write mode #66823

Open richtabor opened 6 days ago

richtabor commented 6 days ago

Description:

When the editor is in Write mode, the Cover block should not display the full screen or matrix controls in its toolbar. These controls are primarily used for layout adjustments, which aren’t relevant in write mode where focus is on content.

Steps to Reproduce:

  1. Open the editor and insert a Cover block.
  2. Switch the editor to write mode.
  3. Observe that the full screen and matrix controls are still visible in the Cover Block toolbar.

Expected:

In write mode, the Cover Block toolbar should only display essential controls related to content, excluding full screen and matrix controls.

Visual:

Image

up1512001 commented 5 days ago

@richtabor created PR can you please review it 🙇‍♂ https://github.com/WordPress/gutenberg/pull/66853