Bug #101417
closed
It is not possible to remove the target via the link browser
Added by Sybille Peters over 1 year ago.
Updated 11 months ago.
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¶
- Add a target to a link
- In the link brower, remove the target, klick update
- 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>
- 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?
- Status changed from Needs Feedback to Closed
Thanks, Riccardo! Yes, I can no longer reproduce. Closing
Also available in: Atom
PDF