Label of editor component could benefit from receiving object #1763
Open
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.
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 :)