A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Och en något mer avancerad variant, där du kan skapa en egen property som fungerar som PropertyLongString och som kan editeras i edit-läget. Exempel:
using System;
using EPiServer.Core;
using EPiServer.PlugIn;
namespace development
{
///
/// Property representing a long string that can be edited
/// using the editor both in edit and preview mode.
///
[PageDefinitionTypePlugIn()]
[Serializable]
public class PropertyPreviewEditableString : PropertyLongString
{
public override void CreateChildControls(
string renderType,System.Web.UI.Control container)
{
base.CreateChildControls("edit",container);
}
}
}