Bug #84111
closedCKeditor: custom section / anchor links (external) will result in page=current#section links
0%
Description
Which without baseURL will result in a link to the current page to the section with id="foo".
The generated link is correct. However, the RTE modifies the link to
"t3://page?uid=current#foo"
which results in two issues:
- data-rte-error="Page with ID current not found" being added in RTE.
Actually, I think page ID current should be valid as that is specially handled in TYPO3. Maybe it would even be good to have an option in link browser "current page". That way it will stay the current page when moving the element. - Upon editing the link one cannot modify the section information anymore. However, it is at least visible.
Updated by Riccardo De Contardi over 6 years ago
Is this a duplicate of #78043 ?
Updated by Riccardo De Contardi over 6 years ago
- Related to Bug #78043: Can't create local anchors using RTE added
Updated by Andreas Allacher over 6 years ago
#78043 was actually with 7.6 and therefore a different RTE, so I am not sure they are the same as this one deals with storage by RTE. Doesn't mean they aren't related though.
Updated by Rene Tobias over 6 years ago
Andreas Allacher wrote:
"Maybe it would even be good to have an option in link browser "current page". That way it will stay the current page when moving the element."
Hello, any update for this? We need it to...
Updated by Susanne Moog about 6 years ago
- Sprint Focus set to On Location Sprint
Updated by Nicolai Schirawski about 6 years ago
In both TYPO3 8.7.20-dev and 9.5.1-dev, local anchors can be set in two different ways:
- first by choosing "internal link" and selecting a content-Element on the current site
- second by choosing "external link" and typing "#ID" into url-field, where ID is the uid of the content-element.
Both links will be rendered the same in FE:
- either "domain/index.php?id=1#c3" (8 LTS)
- or "domain/#c3" (9 LTS)
Both seem valid and IMHO the ticket can be closed
Updated by Anja Leichsenring about 6 years ago
- Status changed from New to Resolved