HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

The inline edit dialog box is designed to be simple while still letting editors edit the most common properties of a block.

This is the reason why Optimizely Content Management System (CMS) introduced the `InlineBlockEditSettings` configuration attribute. You can apply it to your block content type and hide/show the `Name` and `Categories` properties. Additionally, you can also use this attribute to hide specific groups to make the editing form cleaner.

The attribute contains three properties:

PropertyDefault valueDescription
`ShowNameProperty`falseWhen true, then `Name` property is displayed.
`ShowCategoryProperty`falseWhen true, then `Categories` property is displayed.
`HiddenGroups`AdvancedComma-separated list of tabs that should be hidden.


Advanced group is the **Settings** tab in the user interface, which is hidden by default in the inline edit dialog box.

### Change settings for a specific block content type

To turn on the `Name` property for a specific block content type:

And below is to display `Name` and `Categories` properties and `Settings` group:\`\`

To hide more than one group:

### Change settings for multiple block content types

If you want to show `Name` for several block content types, you can configure the setting in their base class, like this:


If you want to change a setting in a child block type, while still wanting to have some other settings from the base class, you have to copy those settings to the child block type class because the settings in the child block type override the settings in the base class.

## Override auto-generated name for inline-creating blocks

Because the `Name` property is hidden by default, blocks created from an inline edit dialog (which is inline create) get an automatically generated name. The name is generated using `ILocalAssetNameGenerator`, and the default format is **PageName BlockType AutoIncrementId**.

To override the default auto-generated name format, you just need to implement `ILocalAssetNameGenerator`.