Task #54944
closedEpic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54272: As an Editor I expect FAL to work with the RTE
FAL links in RTE not translated when link has rel-Attribute
100%
Description
I have several image links (<a> Tags) in a RTE text element. These links have FAL references which look like ?file:1234. They correctly get translated to the real URL when the page is rendered.
As soon as I manually add a rel-Attribute to these links the FAL reference does no longer gets translated but stays at ?file:1234 when the page has been rendered.
This looks like a bug to me, but I'm not exactly sure if this bug is related to FAL or RTE.
The only workaround for this bug is to not use FAL links but use fixed urls instead.
Updated by Daniel Schultheis almost 11 years ago
Some more details on the system I'm running:
I'm using TYPO3 6.1.5 running on PHP 5.3.10.
Updated by Steffen Ritter almost 11 years ago
- Priority changed from Must have to Should have
- Target version set to 6.2.0
- Parent task set to #54272
Updated by Stanislas Rolland almost 11 years ago
- Assignee set to Stanislas Rolland
Updated by Stanislas Rolland almost 11 years ago
When the RTE inserts the link, the href looks like hhtp://somedomain/?file:1234.
If a rel attribute is present, the link is not transformed into a TYPO3 link on the way to the database. However, the href attribute is not transformed, as it should, into a normal file url. It should because the a-tag will be rendered as is in the frontend.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27142
Updated by Gerrit Code Review almost 11 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27142
Updated by Stanislas Rolland almost 11 years ago
- Category changed from File Abstraction Layer (FAL) to RTE (rtehtmlarea + ckeditor)
Updated by Stanislas Rolland almost 11 years ago
- Category changed from RTE (rtehtmlarea + ckeditor) to File Abstraction Layer (FAL)
Updated by Stanislas Rolland almost 11 years ago
- Category changed from File Abstraction Layer (FAL) to RTE (rtehtmlarea + ckeditor)
Updated by Stanislas Rolland almost 11 years ago
Daniel Seebald wrote:
As soon as I manually add a rel-Attribute to these links the FAL reference does no longer gets translated but stays at ?file:1234 when the page has been rendered.
You don't need to enter those rel attributes manually. You can configure
RTE.default.buttons.link.relAttribute.enabled = 1
in Page TSConfig. An additional field will be presented in the element browser for the rel attribute.
Updated by Stanislas Rolland almost 11 years ago
- Estimated time changed from 2.00 h to 3.00 h
Updated by Stanislas Rolland almost 11 years ago
- Estimated time changed from 3.00 h to 2.50 h
Updated by Stanislas Rolland almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Applied in changeset ba7628572ec33010e270d5738d99fbdffc17aed2.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed