Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.6.0, 4.5.3
-
None
-
DXP 4.5.3
Ubuntu 22
Mysql 8
-
Yes
Description
We recently upgraded the EZOE into the Richtext XML.
In doing so we saw that a specific XML syntax breaks the Richtext EDIT mode.
View / display works just fine and we can see the text and embedded content with links on the front end ok (and even the Admin page).
BROKEN: <ezlink above <ezconfig>
```
<?xml version="1.0" encoding="UTF-8"?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml"
xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0">
<title ezxhtml:level="3">Test</title>
<ezembed xlink:href="ezcontent://26003" view="embed" ezxhtml:align="right" ezxhtml:class="ibexa-embed-type-image">
<ezlink xlink:href="ezlocation://25702" xlink:show="new"/>
<ezconfig>
<ezvalue key="size">medium</ezvalue>
<ezvalue key="offset">0</ezvalue>
<ezvalue key="limit">5</ezvalue>
</ezconfig>
</ezembed>
</section>
```
FIX: move the <ezlink> BELOW the <ezconfig>
```
<?xml version="1.0" encoding="UTF-8"?>
<section
xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:ezxhtml="http://ibexa.co/xmlns/dxp/docbook/xhtml"
xmlns:ezcustom="http://ibexa.co/xmlns/dxp/docbook/custom" version="5.0-variant ezpublish-1.0">
<title ezxhtml:level="3">Test</title>
<ezembed xlink:href="ezcontent://26003" view="embed" ezxhtml:align="right" ezxhtml:class="ibexa-embed-type-image">
<ezconfig>
<ezvalue key="size">medium</ezvalue>
<ezvalue key="offset">0</ezvalue>
<ezvalue key="limit">5</ezvalue>
</ezconfig>
<ezlink xlink:href="ezlocation://25702" xlink:show="new"/>
</ezembed>
</section>
```
Designs
Attachments
Issue Links
- relates to
-
IBX-7930 Putting a link on a rich text content changes the position of that content in the rich text block
- Closed