Project

General

Profile

Actions

Bug #101417

closed

It is not possible to remove the target via the link browser

Added by Sybille Peters 9 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2023-07-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Reproducible with latest v13, possibly also v12. May have to use patch https://review.typo3.org/c/Packages/TYPO3.CMS/+/80034 to reproduce, otherwise target is not always saved to DB.

Reproduce

  1. Add a target to a link
  2. In the link brower, remove the target, klick update
  3. Save the CE (or switch to source mode)

The target is still there, e.g.

 <p><a href="t3://page?uid=1" title="hallo" target="_blank">link1</a></p>
Actions #1

Updated by Riccardo De Contardi 4 months ago

  • Status changed from New to Needs Feedback

Am I wrong or https://review.typo3.org/c/Packages/TYPO3.CMS/+/80034 has been merged?

I tried to reproduce the issue on 12.4.9 and 13.0.0-dev (latest main) without success.
This is my test procedure

1) Create a "Text" element and put in it some text
2) Select some of the text and click on the CKEditor "Link" Button
3) The Linkbrowser opens; select Target: _blank using the dropdown
4) Select a page and click on the button to link that page.
5) Linkbrowser closes itself
6) Inspect the RTE field using the CKEditor "Source" button

It shows something like:

<p>
    <a href="t3://page?uid=484" target="_blank">this is a link</a>
</p>

7) Go back to the "edit" mode; click somewhere on the linked word > a small popup to edit the link appears; click on it
8) The Linkbrowser opens; you have to manually delete the _blank target, as the dropdown does not show the correct target (It seems that it still says it is the "empty" one - but this is another issue)
9) Click on "Update" button
4) Select a page and click on the button to link that page.
10) Linkbrowser closes itself
11) Inspect the RTE field using the CKEditor "Source" button

It shows something like:

<p>
    <a href="t3://page?uid=484">this is a link</a>
</p>

Is this sufficient to close the issue or a different test is necessary?

Actions #2

Updated by Sybille Peters 4 months ago

  • Status changed from Needs Feedback to Closed

Thanks, Riccardo! Yes, I can no longer reproduce. Closing

Actions

Also available in: Atom PDF