Child pages
  • [cms] Empty page dropdown, when adding internal link in CKEditor [5.3.0-B1]
Skip to end of metadata
Go to start of metadata

One of the features in Content Mode (mode, in which all editable content on a page will have "Edit Content" button next to it) is adding links to other pages on website. Apparently this was broken at some point during 5.3.x version development, because this is working in 5.2.x:

This happens because in  INP-1298 - Getting issue details... STATUS  we've moved code, that was replacing "&" with "&" from the "kApplication::HREF" method into actual "m_T" (or "m_Link") tag, that were needed it. The "fck:OnLoadCmsTree" event (used to provide data for that empty dropdown) was expecting "&" from the "kApplication::HREF" method and was just placing them into XML. Now that's not happening, which results in broken XML document.

Solution

Manually html-escape URL used in "fck:OnLoadCmsTree" event to avoid broken XML.

Related Tasks

INP-1298 - Getting issue details... STATUS

INP-1557 - Getting issue details... STATUS

INP-1450 - Getting issue details... STATUS

INP-1558 - Getting issue details... STATUS

INP-1451 - Getting issue details... STATUS