Bug #100038
closedEpic #99669: CKEditor5 Collection
CKeditor 5: target attribute is removed from file-links
0%
Description
As a user I insert a link to a file and want it to open in new window.
After setting link and select target=_blank I save the content.
Everything is fine in frontend and database
BUT: My target-attribute is removed in CKeditor - so after saving this element again my target attrib. is also gone in frontend and database.
It seems, that target attrib is not allowed on the way from database to CKeditor.
Updated by Henrik Ziegenhain over 1 year ago
- Related to Epic #99669: CKEditor5 Collection added
Updated by Henrik Ziegenhain over 1 year ago
Workaround:
With fileTarget = _blank
one can enforce _blank for all filelinks.
For sure it would be nice to let the editor choose which ones to open with _blank or _top
Updated by Benjamin Kott over 1 year ago
- Status changed from New to Accepted
- Parent task set to #99669
Updated by Benni Mack over 1 year ago
- Target version changed from 12 LTS to Candidate for patchlevel
Updated by Sybille Peters over 1 year ago
It seems there are several duplicate issues for this bug. It would help if you can double-check if existing patch also solves your problem or is a different problem. Please feel free to comment , if incorrectly assumed these are duplicates.
Updated by Sybille Peters over 1 year ago
- Related to Bug #101360: Some attributes for <a> element are not persisted (class, rel, target) in RTE added
Updated by Sybille Peters over 1 year ago
- Related to Bug #101338: TYPO3 12 CKE Editor target not working added
Updated by Sybille Peters over 1 year ago
- Related to Bug #101205: RTE Links _blank is reset on save or when second link gets set added
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/80034
Updated by Sybille Peters over 1 year ago
- Status changed from Under Review to Closed
Hey, Hendrik. I am closing as duplicate in favor of #101360.
Usually, we keep the older issue, but this issue mentions only a very special case (file links and only the target), so I think it is best to keep the more general issue and close the others.