Skip to content

Label of editor component could benefit from receiving object #1763

Open
@ciokan

Description

Is your feature request related to a problem? Please describe.

Not a problem. Similar to toBlock and toPreview passing the object to label and allowing us to construct the it based on field contents could benefit and help publishers even more. Collapsed components inside the editor are hard to identify otherwise.

screenshot from 2018-09-21 04-25-31

Describe the solution you'd like

Some of those static labels could be replaced programatically by a title from the fields or some other info present inside obj.

I might do a PR on this one but I don't have the time right now so feel free to pick it up :)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions