-
Notifications
You must be signed in to change notification settings - Fork 5
Description
The question / Feature Request / tldr;
Is there a way to completely hide a specific field from the editing experience while keeping a plugin running?
Some context:
I have build a Heading Block. A Block with the purpose of rendering <h2>...<h6> elements with an optional sub heading. Which looks like this:
The purpose of this block is to give the author of the content a clear insight in the structure of the page while giving the developer the tools to build an accessible heading
When this block is collapsed, however, only the content of one field can be chosen to identify the block via the Preview Title option in the presentation tab of the block. Which is understandable, so I used our Computed Field plugin to create a label field. I configured it so that it shows the level, title and subtitle in a single string which results in this:
With a glance, the author sees the title and subtitle of the heading, and if a level > 2 is chosen, it is also indicated.
This is precisely what I want.
There is only one problem:
The label field (which is connected to the Computed Field plugin) is still visible in the authoring experience. Within the Computed Fields plugin we add the option to 'hide' the field, but because the plugin runs in an iframe, we can only hide the field itself, not the label as wel