Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

How to make Block Name is editable in Preview?

$
0
0

Hi everyone,

I have an issue, I want to edit the block name in Preview in edit mode.

I tried these lines but the Block Name is still not editable:

<h3 @Html.EditAttributes(x => (x as IContent).Name)>
    @Html.DisplayFor(x => (x as IContent).Name)</h3>

or

<h3>
   @Html.PropertyFor(x => ((IContent)x).Name)</h3>

The screenshot

Can anyone help me? Or if the Block Name is editable in Preview, can anyone explain help me?

Thanks,


Viewing all articles
Browse latest Browse all 6894

Trending Articles