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.
For the link editor in TinyMCE, when getting the anchor widget, there is a method:
When I added the same to get the Page widget:
the code doesn't work in languages other than English. Now, I can add || wrapper.name == "Sida" as a workaround for this site, since all the editors use Swedish. However, this appears to be a bug, since when I debug the dojo code, for each widget in widgetList, I get an English name for wrapper.name and a localized name for wrapper.displayName.
In dotPeek, in LinkEditorDescriptor I do see this part, so I guess that is the reason:
But isn't this a bug, shouldn't DisplayName be r.CustomSelectTitle ?? r.Name, and