Skip to content

Image get lost when add a link to the image #311

@IvanZIK

Description

@IvanZIK

Bug description
Sometimes image get lost after try to link the image with a page withing the RTE CKEditor. For example, it works 10 times, but then the 11th time, we encounter this problem.

Steps to reproduce
To reproduce the problem:

  1. Create a simple text element and add an image
  2. Mark the image and click on the link icon
  3. Select a page and set the link
  4. Repeat the process and after 5,6 reload
  5. The image vanishied and only the link text is visible

Expected behavior
Setting a link on an image wrap the link around the image.

Screenshots or logs
Image added: https://prnt.sc/PbcCkgkroujj
Image linked: https://prnt.sc/nQr_nF_6eNXw
Browser Console tab is empty and there are no errors.

Environment

  • TYPO3 version: 11.5.24
  • PHP version: 7.4
  • Extension version: 11.0.15

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions