Issue Bug Closed

#95394Multiple images with link ,inside one p tag in RTE ckeditor is not parsed correctly

Kasim Sabah M S 09/29/21, 07:47 updated 07/08/24, 09:07

Description

In typo3 version 10.4.19 , multiple images with link inside one p tag ,in RTE ckeditor is not parsed correctly in Front end view , when we use <f:format> in Fluid.</f:format>


View in CK Editor in the TYPO3 backend

test content



  

Current result

test content



 


 

*Expected Result:*

test content



  

Please Refer the screeshot too

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 3

History 2

  1. Kasim Sabah M S changed category 09/29/21, 07:48

  2. Riccardo De Contardi commented and changed status New Closed 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.