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.
search
AI OnAI Off
Let's say that I have two page content types PageA and PageB. Both of them are having property defined like that:
with OfferDetailsItem defined like that:
I would like to customize TinyMCE editor for Value property of OfferDetailsItem class. I would like to do this depending on page context so there is different toolbar config when its used on PageA and different when its used on PageB.
I tried to use CustomEditorDescriptor for XhtmlString TargetType and override:
but in this case metadata.Parent is null so I can't reach content page context. For properties that are not collections this is possible.
Do you know if there is any other way to deal with this?