Skip to content

Metadata attribute is not preserved after transforming paragraph block into heading #59086

@SantosGuillamot

Description

@SantosGuillamot

What?

It seems that when transforming a block the metadata attribute is not preserved. For example, if I name a paragraph block with a custom name, it disappears after transforming it into a heading. Or if it has some bindings.

It seems it works fine with other attributes.

Is this expected? If not, any idea how it could be solved?

Reproduce

  1. Add a paragraph to a post.
  2. Rename the block to "Custom name".
  3. Transform the paragraph block into a heading block.
  4. Check that the "Custom name" has dissapeared.

Metadata

Metadata

Labels

[Feature] Block APIAPI that allows to express the block paradigm.[Feature] Block TransformsBlock transforms from one block to another[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions