Project

General

Profile

Actions

Bug #100038

closed

Epic #99669: CKEditor5 Collection

CKeditor 5: target attribute is removed from file-links

Added by Henrik Ziegenhain about 1 year ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Start date:
2023-02-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Stabilization Sprint

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.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #101360: Some attributes for <a> element are not persisted (class, rel, target) in RTEResolvedSybille Peters2023-07-15

Actions
Related to TYPO3 Core - Bug #101338: TYPO3 12 CKE Editor target not workingClosed2023-07-12

Actions
Related to TYPO3 Core - Bug #101205: RTE Links _blank is reset on save or when second link gets setClosed2023-06-30

Actions
Actions #1

Updated by Henrik Ziegenhain about 1 year ago

Actions #2

Updated by Henrik Ziegenhain about 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

Actions #3

Updated by Benjamin Kott about 1 year ago

  • Status changed from New to Accepted
  • Parent task set to #99669
Actions #4

Updated by Benni Mack 11 months ago

  • Target version changed from 12 LTS to Candidate for patchlevel
Actions #5

Updated by Benni Mack 11 months ago

  • Sprint Focus set to Stabilization Sprint
Actions #6

Updated by Sybille Peters 10 months 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.

Actions #7

Updated by Sybille Peters 10 months ago

  • Related to Bug #101360: Some attributes for <a> element are not persisted (class, rel, target) in RTE added
Actions #8

Updated by Sybille Peters 10 months ago

  • Related to Bug #101338: TYPO3 12 CKE Editor target not working added
Actions #9

Updated by Sybille Peters 10 months ago

  • Related to Bug #101205: RTE Links _blank is reset on save or when second link gets set added
Actions #10

Updated by Gerrit Code Review 10 months 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

Actions #11

Updated by Sybille Peters 10 months 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.

Actions

Also available in: Atom PDF