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

Adds 'nofollow' setting to inline links (rich text only) #53945

Merged
merged 12 commits into from
Aug 31, 2023
Prev Previous commit
Next Next commit
Extend default settings in inline link implementation
  • Loading branch information
getdave committed Aug 31, 2023
commit d3c1449f7e0ed1485c7bcf2325524317beaf2004
5 changes: 1 addition & 4 deletions packages/format-library/src/link/inline.js
Original file line number Diff line number Diff line change
@@ -32,10 +32,7 @@ import { link as settings } from './index';
import useLinkInstanceKey from './use-link-instance-key';

const LINK_SETTINGS = [
{
id: 'opensInNewTab',
title: __( 'Open in new tab' ),
},
...LinkControl.DEFAULT_LINK_SETTINGS,
{
id: 'noFollow',
title: __( 'No follow' ),