decaporg / decaporg/decap-cms

Label of editor component could benefit from receiving object

Open
#1,763 2 comments 0 reactions 0 assignees View on GitHub
area: extensions/widgets exp: intermediate kind: enhancement pinned status: needs design
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

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](https://user-images.githubusercontent.com/474948/45854966-77d3b380-bd56-11e8-867f-9cfd2f6110f7.png)

**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 :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.