Gutenberg: Adding Advanced link to Options modul.

Created on 2 Jun 2020  路  5Comments  路  Source: WordPress/gutenberg

Is your feature request related to a problem? Please describe.
There are a few issues where many are asking for the No Follow link option.
Such as:

Add easy way to modify links and add toggle options.
https://github.com/WordPress/gutenberg/issues/17556

Add nofollow option for links
https://github.com/WordPress/gutenberg/issues/13542

Make link selection consistent
https://github.com/WordPress/gutenberg/issues/17293

and there are probably other associated issues.

Describe the solution you'd like

Today we have this link dialog:
Screen Shot 2020-06-02 at 21 39 25

I am wondering if we should add an Advanced Link option to the options modal similar to this mockup:
Options-Panel-Add-Advanced-links

Clicking the Advanced links will then change the Link modul and add additional options to it like the No follow option.

Describe alternatives you've considered
Editorskit plugin already has additional link options included in it's link modul so the user can always choose to use that.

Needs Design Feedback [Feature] Link Editing

All 5 comments

I don't personally think it warrants a separate display option.

Hey Rich @richtabor
I am trying to look at different ways we can handle the additional link attributes. This was one way I thought of. I am hoping that it can inspire to figuring out even better ways. Suggest a way that will not work and then hope to create discussions in finding a way that does..:)

What about a "more" trigger that when toggled on, reveals any additional controls?

Here's a super quick Figma prototype →

Frame 2

Looks good to me! That would work even better.
Let's close this issue and open a new issue suggesting it.
I'll close here, and if that's alright then you can open a new issue adding the Figma image.

Thanks Rich.
I went ahead and opened this issue: Link Control: Add more controls.
https://github.com/WordPress/gutenberg/issues/23011

Was this page helpful?
0 / 5 - 0 ratings