Gutenberg: Audit of "More options" block menu

Created on 3 Jul 2018  路  8Comments  路  Source: WordPress/gutenberg

This task is used to track consistency of the "More options" block menu, discuss and address the outstanding issues, if any:

more-menu-gut-gallery

Block / Menu option | [Show / Hide] Block Settings | Edit [as HTML / visually] | Convert to blocks | Duplicate | Convert to [Shared / Regular] block | Delete Shared Block | Remove Block
--- | --- | --- | --- | --- | --- | --- | --- |
Inline Image | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Paragraph | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
List | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Gallery | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Quote | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Image | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Heading | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Audio | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Cover image | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Subheading | 鉁旓笍 | if no sharedblock | | if sharedblock | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Cover image | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Custom HTML | 鉁旓笍 | | #7466 enable it if no sharedblocks | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Classic | 鉁旓笍 | if no sharedblock | if no sharedblock | 鉁旓笍 | 鉁旓笍 #5941 disable it | if sharedblock | 鉁旓笍 |
Code | 鉁旓笍 | #6672 asks to enable it | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Preformatted | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Pullquote | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Table | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Verse | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
More | 鉁旓笍 | | | if sharedblock | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Page break | 鉁旓笍 | | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Button | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Columns (beta) | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Separator | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Spacer | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Text Columns | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Shortcode | 鉁旓笍 | | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Categories | 鉁旓笍 | | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Latest Posts | 鉁旓笍 | | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |
Embeds | 鉁旓笍 | if no sharedblock | | 鉁旓笍 | 鉁旓笍 | if sharedblock | 鉁旓笍 |

[Feature] Blocks [Type] Task

All 8 comments

@jasmussen @karmatosed @mtias While working on https://github.com/WordPress/gutenberg/issues/7466 I've prepared this table to help us track issues if any.

The main actionable question I have is: should the Duplicate option be available at all times for the Subheading and More blocks?

cc @noisysocks as per https://github.com/WordPress/gutenberg/issues/5941 in case you are aware of any other issues/cases

The main actionable question I have is: should the Duplicate option be available at all times for the Subheading and More blocks?

Both blocks have a supports attribute multiple: false, because they should only appear once per post. Also if they are shared bocks, they shouldn't be duplicatable.

@nosolosw Solid work here, and I agree with Soean, if the block is not supposed to be used more than once, it would be nice to make the Duplicate menu item disabled in those situations. I wouldn't _remove_ the item, I think it makes more sense that it's disabled, that helps the spatial memory by not shifting menus around.

Got it. So the more directly actionable item would be the contrary to what I've initially proposed: disable the Duplicate option for More and Subheading blocks when they are shared blocks, as to avoid having twice of them in a Gutenberg post. At the moment I can get two by:

  • create a More or Subheading block
  • click Convert to shared block and save
  • at this point, the duplicate option is shown in the options menu; click it to effectively have two of them in a post/page

An alternative could be to prevent them from becoming shared blocks altogether, but I guess there may be use cases where it'd be useful for a Subheading to become a shared block.

I've started working on fixing the Duplicate option bug at https://github.com/WordPress/gutenberg/issues/7957

See also the final design proposal here: https://github.com/WordPress/gutenberg/issues/7433

Seems like this issue served its purpose and now we should close it in favor of small actionable issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spocke picture spocke  路  3Comments

maddisondesigns picture maddisondesigns  路  3Comments

nylen picture nylen  路  3Comments

moorscode picture moorscode  路  3Comments

wpalchemist picture wpalchemist  路  3Comments