Skip to content

Bulk editing in link popover doesn't work #24753

@thijsdevalk

Description

@thijsdevalk

Describe the bug
When having a list of links, I can select multiple line-items at the same time, which will show the link popover. So it looks like I can edit all those links in my list at the same time. However, if I, for example, set them to "open in new tab", all the links will suddenly point to the same URL. There is no notification of this happening, the anchor text stays the same, it's just the URLs that change.

To reproduce
Steps to reproduce the behavior:

  1. Go to edit a post or page
  2. Create a list and add links to the list items
  3. Select multiple lines
  4. Click anything in the popover that pops up after selecting
  5. Notice the URLs of the list items now all point to the same URL.

Expected behavior
I was expecting one of two things:

  1. For bulk editing not to be possible, so I can't select multiple links and still have the popover show, or
  2. If bulk editing should be possible, for the URLs of the links I selected to remain what they were.

Screenshots
Screenshot 2020-08-24 at 07 58 55

Editor version (please complete the following information):

  • WordPress version: 5.5
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? default

Desktop (please complete the following information):

  • OS: MacOS 10.15.4
  • Browser: Chrome
  • Version: 84.0.4147.135

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Link EditingLink components (LinkControl, URLInput) and integrations (RichText link formatting)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions