Skip to content

Block Library: Refactor Embed block to use block.json and block variations #22660

Closed

Description

@gziolo

Description

Part of #16209.

Follow-up for #22491 where all blocks but Embed were refactored to be registered on the server with block.json metadata files.

Embed block is really a collection of multiple variations of the same block so ideally it should be converted to one block containing a set of block variations. Similar to what @mcsf did for Social Icon block: #19887.

All that makes it hard to move its settings to a single block.json and register in on the server to be exposed in the REST API endpoint with block definitions.

Activity

  1. added
    [Type] TaskIssues or PRs that have been broken down into an individual action to take
    on May 27, 2020
  2. changed the title [-]Block Library: Refactor Embed blocks to use `block.json`[/-] [+]Block Library: Refactor Embed blocks to use `block.json` and block variations[/+] on Jul 8, 2020
  3. changed the title [-]Block Library: Refactor Embed blocks to use `block.json` and block variations[/-] [+]Block Library: Refactor Embed block to use `block.json` and block variations[/+] on Jul 8, 2020
  4. added
    [Priority] HighUsed to indicate top priority items that need quick attention
    on Jul 8, 2020
  5. self-assigned this
    on Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

REST API InteractionRelated to REST API[Block] EmbedAffects the Embed Block[Priority] HighUsed to indicate top priority items that need quick attention[Type] TaskIssues or PRs that have been broken down into an individual action to take

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions