Issue Bug Closed

#95818rte_ckeditor link around image generates faulty frontend html

Marco H 10/29/21, 22:31 updated 04/12/25, 19:52

Description

Version 10.4.21

How to reproduce:

- include fluid styled content
- enable images for editor (if you use Default.yaml, use removePlugins: null
- create text element
- enter image
- link to an external url
- save and check frontend

Example html in editor:

<p><a href="https://www.google.de/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png"><img alt="" data-htmlarea-file-uid="5" src="https://yourdomain.com/fileadmin/_processed_/2/8/csm_e6a44eba77_2b4acbbd70.png" style="height:101px; width:300px" /></a></p>

Frontend then looks like this:
@

@

Reviews 1