Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External urls in RTE not enriched, if not configured as link #10

Closed
jokumer opened this issue Jun 26, 2020 · 1 comment
Closed

External urls in RTE not enriched, if not configured as link #10

jokumer opened this issue Jun 26, 2020 · 1 comment

Comments

@jokumer
Copy link

jokumer commented Jun 26, 2020

Extension version 1.0.1
TYPO3 version 8.7

In case, RTE parsing is configured to render urls as link (lib.parseFunc_RTE.makelinks.http):
When just a url is written in RTE, and not marked as link, this 'rel' attribute will not be added. This causes that typolink functionality is not in affect.

This can be solved by adding following TypoScript configuration:
lib.parseFunc_RTE.makelinks.http.ATagParams = rel="noopener noreferrer nofollow"
This will add 'rel' attribute to all urls in RTE (also internal, which shouldn't created this way).

@jokumer
Copy link
Author

jokumer commented Jun 26, 2020

In TYPO3 v10 urls in RTE gets marked as link automaticly. Thoose links are checked for external or internal and gets enriched with 'rel' attribute for 'noopener noreferrer'.

@jokumer jokumer closed this as completed Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant