Bug #71510
closedLinkhandler: Own Keywords can not be processed if link created via RTE
100%
Description
Discussed this topic with Markus Klein on Slack,
If you add a LinkHandler with an own keyword everything works fine in TCEMAIN Context. But if you want to add the link in RTE Context the hostname gets prepended, because of that you can not invoke your hook registered by $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']['keyword'] because the link is basically treated like an external link.
I could fix the issue by using the following code:
http://pastebin.com/ypHUQFDQ
All registered keywords should be added to some javascript-container and then be respected at
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/RteLinkBrowser.js:106
That way they would be saved correctly.
Updated by Markus Klein about 9 years ago
- Category changed from RTE (rtehtmlarea + ckeditor) to Site Handling, Site Sets & Routing
- Status changed from New to Accepted
- Assignee set to Markus Klein
- Priority changed from Should have to Must have
- Target version changed from next-patchlevel to 7 LTS
Updated by Gerrit Code Review about 9 years ago
- Status changed from Accepted 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/44713
Updated by Gerrit Code Review about 9 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/44713
Updated by Markus Klein about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7b3c32e76ee94ee4f57d7bc130174554f4cbc8c7.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed