Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
The Name proeprty for blocks isn't coming from IContent. Because BlockData is not inheriting the IContent. PageData is inherits the IContent. For BlockData the Inheritance defined as
BlockData => ContentData => IContentData
Where as PageData => IContent => IContentData
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
The screenshot
Can anyone help me? Or if the Block Name is editable in Preview, can anyone explain help me?
Thanks,