Open barthamark opened 1 week ago
I recall this! For namedpart don't use BagPart_Edit
in placement, it will only move the Part and not the label. To move both label and the Part use ContentPart_Edit
in placement with differentiator.
Try something like
{
"ContentPart_Edit": [
{
"place": "Parts#HTML Attributes",
"differentiator": "Container-BackgroundColor",
"contentType": ["Container"],
"contentPart": ["BootstrapColor"]
}
]
}
Describe the bug
I have a content type with a named BagPart. I want to put the BagPart editor to a separate tab. I can do it with the following placement:
It successfully creates the tab and puts the "Add My Type" to the "My Tab", but it leaves the "Items Provides a collection behavior for your content item where you can place other content items." text on the "Content" tab.
I see that this text is generic and implemented in the
ContentPart.Edit.cshtml
but I have no idea on how to address this shape from the placement, nothing seem to target it.Orchard Core version
2.0.2
To Reproduce
BagPart_Edit
and the rule should beExpected behavior
Somehow move the generic text to the "My Tab" tab.
Logs and screenshots