#95394Multiple images with link ,inside one p tag in RTE ckeditor is not parsed correctly
Description
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 3
History 2
-
Kasim Sabah M S changed category 09/29/21, 07:48
-
Riccardo De Contardi commented and changed status
NewClosed 07/08/24, 09:07



I performed a short test on TYPO3 12.4.16:
1) I installed EXT:rte_ckeditor_image to add images to TYPO3 CKeditor
2) I Created a “Text with Media” content element
3) added two images to the CE and I was able to wrap each image with a single anchor
Code in editor:
<p> <a href="https://www.google.it"> <img class="" src="/fileadmin/images/a2.jpg" data-htmlarea-file-uid="1" data-htmlarea-file-table="sys_file" width="100" height="143" title="" alt="" data-title-override="true" data-alt-override="true"> </a> <a href="https://www.google.it"> <img class="" src="/fileadmin/images/a1.jpg" data-htmlarea-file-uid="2" data-htmlarea-file-table="sys_file" width="100" height="133" title="" alt="" data-title-override="true" data-alt-override="true"> </a> </p>Code on frontend
<p> <a href="https://www.google.it" target="_blank" rel="noreferrer"> <img class src="/fileadmin/images/a2.jpg" data-htmlarea-file-uid="1" data-htmlarea-file-table="sys_file" width="100" height="143" title alt data-title-override="true" data-alt-override="true" style> </a> <a href="https://www.google.it" target="_blank" rel="noreferrer"> <img class src="/fileadmin/images/a1.jpg" data-htmlarea-file-uid="2" data-htmlarea-file-table="sys_file" width="100" height="133" title alt data-title-override="true" data-alt-override="true" style> </a> </p>I close this issue as solved; if you think that this is the wrong decision or experience the issue again please reopen it or open a new issue with a reference to this one. Please include a step-by-step guide about how to reproduce the issue
Thank you.