-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Extensibility: Make it possible to add "Open in a new window", "nofollow" and other link options #4597
Comments
It should stay (open in new tab), at least as simple functions filter. Stupid to link to some donor/friend/sponsor and be navigated away from your website, just because of this courtesy link. |
Hmm Open in a new window should stay as a option in the UI without having to add some extra code for it. |
We could create a slot in the inspector that has formatting props from In some cases it may be more interesting to filter the links with a |
Please consider adding the "Open in a new tab" option to the Gutenberg link interface. It is widely used. It is just a checkbox. It is common to use it on all external links. |
Even though I wouldn’t recommend doing this, there are plugins that will
automatically add this attribute to external links. Might be easier than
adding it manually for every link? Regardless, there’s a PR somewhere that
adds the UI.
…On Sat, 7 Apr 2018 at 18:35, dmccan ***@***.***> wrote:
Please consider adding the "Open in a new tab" option to the Gutenberg
link interface. It is widely used. It is just a checkbox. It is common to
use it on all external links.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4597 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEfg68sbQKtI_bxb2EMm4gl40yZ2GJ3Pks5tmOqYgaJpZM4RkRP_>
.
|
It's an option of the current (classic) editor ... so it is not new behavior and apparently a normal enough option. It would be more convenient to have the checkbox near the URL entry box. I'm glad there is a PR. I'm not in a position to merge the pull request. Can you please do so? |
Closing as with latest version we're adding back in open in a new window. |
Please add the nofollow option in the same format as the new window option. It's also important because Google and the FTC both require "nofollow" for any paid-for link (like blogs use, for influencer marketing). It's way too difficult to add that now, with Gutenberg. It should be a toggle option like the new window option. |
The nofollow option is indeed very important! I hope it will be an option soon, since the Ultimate Nofollow plugin is not working with the new layout... The rest of the new layout works very nice (uptill now), so I actually want to use. But I need the nofollow option. :) As said above, it would be nice if it's the same as the "open in new window" toggle or something like that. |
Noting that a new issue was created requesting the ability to add |
Is than "noopener" added automatically ? |
@StaggerLeee I found an explanation about "noopener" at https://support.performancefoundry.com/article/186-noopener-noreferrer-on-my-links and, yes, the explanation mentions it was added in the Core project as of WP 4.7.4. |
Issue Overview
The "Open in new window" link option was removed in #4583. For plugin authors it should be possible to add this function with a plugin.
This also can be useful for a "nofollow" option, see #4499
The text was updated successfully, but these errors were encountered: