Skip to content

Block Variation: Block-scoped variations are searchable with the slash inserter #74233

@t-hamano

Description

@t-hamano

#73823 introduced the following new logic to make heading-level variations searchable only with the slash inserter:

It also modifies the behavior of "block" scope in variations so that they are searchable via slash commands.

This means variations with only 'block' scope (not 'inserter') are marked as isSearchOnly and filtered from the inserter browse view, but remain searchable in inserter and slash commands.

This is causing unintended variations to be exposed. For example, all variations of the Columns block can be inserted via the quick inserter:

Image

We need to explore a different approach.

Metadata

Metadata

Assignees

Labels

[Feature] Block VariationsBlock variations, including introducing new variations and variations as a feature[Feature] InserterThe main way to insert blocks using the + button in the editing interface[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions