volume_up

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

volume_up

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

EditorDescriptorRegistration not triggered

CMS 11

Hello! Ive got a plugin out there with an EditorDescriptor, but it is not triggered in ONE implementation. What can it be?

yes there is other descriptors in solution with TargetType = typeof(XhtmlString) and they are triggered

 [EditorDescriptorRegistration(TargetType = typeof(XhtmlString), EditorDescriptorBehavior = EditorDescriptorBehavior.PlaceLast)]
public class XhtmlStringEditorDescriptor : EditorDescriptor
{
        public override void ModifyMetadata(EPiServer.Shell.ObjectEditing.ExtendedMetadata metadata,
            IEnumerable<Attribute> attributes)
        {
            //no breakpoint triggered here
            if (metadata.EditorConfiguration["settings"] is Dictionary<string, object> settings)
            {
               //some code here but gets never hit
            }            
        }
}
#222901
Edited, May 13, 2020 12:23
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.