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

Search field for link target shall be prefilled with selected text #46738

Open
porg opened this issue Dec 22, 2022 · 1 comment
Open

Search field for link target shall be prefilled with selected text #46738

porg opened this issue Dec 22, 2022 · 1 comment
Labels
[Block] Navigation Link Affects the Navigation Link Block [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Type] Enhancement A suggestion for improvement.

Comments

@porg
Copy link

porg commented Dec 22, 2022

Reproduction

  1. Highlight plain text (not a link yet)!
  2. Trigger the "Link" command via button or shortcut ⌘ K
  3. The search box for finding a link target opens, and it is in this state:
    • Actual: The search box is empty regardless whether text was selected or not.
    • Expected: The search box shall be prefilled with the selected text.
      • As this will help me to find my intended target quickly in most cases.
      • Maybe add/remove a few words/characters.
      • But certainly better than starting blank and type everything all manually.

Demo Video

Search field for link target shall be prefilled with selected text in Wordpress Block Editor

Further Notes

@porg
Copy link
Author

porg commented Dec 22, 2022

@getdave maybe of interest to you as you did some linker work, e.g. in:

@kathrynwp kathrynwp added [Block] Navigation Link Affects the Navigation Link Block [Type] Enhancement A suggestion for improvement. labels Dec 22, 2022
@getdave getdave added the [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) label Jan 3, 2023
@porg porg changed the title Navigation: Search field for link target shall be prefilled with selected text Search field for link target shall be prefilled with selected text Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Link Affects the Navigation Link Block [Feature] Link Editing Link components (LinkControl, URLInput) and integrations (RichText link formatting) [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants