-
Notifications
You must be signed in to change notification settings - Fork 32
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
Mark external links with special class #1796
Conversation
Code Climate has analyzed commit 71ccd22 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 74.2% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The basic JS code works, thanks! However, we should mark more domains as supported.
integreat_cms/static/src/js/tinymce-plugins/custom_link_input/plugin.js
Outdated
Show resolved
Hide resolved
a945c29
to
3578fbe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, works as expected! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🙏
Now, could you squash your commits again? 🙈
e0484a0
to
88b978d
Compare
03f84b4
to
71ccd22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks.
Short description
This PR adds the class
link-external
to links inserted or updated with TinyMCE.Proposed changes
integreat.app
), if so, add extra class when insertingSide effects
Resolved issues
Fixes: #1333
Pull Request Review Guidelines