Task #54944
closed
Epic #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
Added by Daniel Schultheis almost 11 years ago.
Updated about 7 years ago.
Category:
RTE (rtehtmlarea + ckeditor)
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.
Some more details on the system I'm running:
I'm using TYPO3 6.1.5 running on PHP 5.3.10.
- Priority changed from Must have to Should have
- Target version set to 6.2.0
- Parent task set to #54272
- Estimated time set to 2.00 h
- Assignee set to Stanislas Rolland
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.
- Status changed from New to Under Review
- % Done changed from 0 to 80
- Category changed from File Abstraction Layer (FAL) to RTE (rtehtmlarea + ckeditor)
- Category changed from RTE (rtehtmlarea + ckeditor) to File Abstraction Layer (FAL)
- Category changed from File Abstraction Layer (FAL) to RTE (rtehtmlarea + ckeditor)
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.
- Estimated time changed from 2.00 h to 3.00 h
- Estimated time changed from 3.00 h to 2.50 h
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF