search
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.
Something like this might work:
[EditorDescriptorRegistration(
EditorDescriptorBehavior = EditorDescriptorBehavior.ExtendBase,
TargetType = typeof(YourProperyType))]
public class YourEditorDescriptor : EditorDescriptor
{
public YourEditorDescriptor()
{
// Here you can set you editing class and so on
}
}
well, I wanted to use one of the built-in editor descriptors for my custom class, but looks like it works to derive my own editor descriptor from the Epi class and specify my custom type in the registration -- Thanks.
If I have created a custom Property class derived from one of the available Property base types, is there a way to specify a default Editor Descriptor for my property type, or do I now have to put the EditorDescriptor attribute on every content type property of this type?