Skip to content

Hidden blocks should still be visible in the editor #73838

@scrobbleme

Description

@scrobbleme

Just hiding blocks from the editor and only make it "visible" within the document overview is a terrible idea and non-intuitive at all.

  • it is not obvious that this happens, the content is just gone
  • the document overview itself is not obvious, most of my customers don't know it (even after showing it) or don't use it.

Proposal

  • Just leave the block within the editor and mark it somehow, maybe a "grayish hidden overlay" when not active

Here is a workaround to make it at least visible, when selected within the outline view:

.block-editor-block-list__block.is-block-hidden {
    visibility: visible;
    height: auto;

    &:not(.is-selected, :has(.is-selected)) {
      opacity: 0.7;
      filter: grayscale(1);
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Block APIAPI that allows to express the block paradigm.[Status] In discussionUsed to indicate that an issue is in the process of being discussed[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions