Skip to content

Links: “Open in a new tab” setting doesn’t look like it saves. #1161

@thehenrybyrd

Description

@thehenrybyrd

Expected:
When I set the “Open in a new tab” setting for a link, I expect it to remain toggled on.

Actual:
It does not remain toggled on in all circumstances, even though the target=“_blank” remains in tact.

This happens in Paragraph

To Reproduce:

  1. Create a new post
  2. Add a paragraph block, type some text.
  3. Add a link and set it to “Open in a new tab”.
  4. Open link settings again and see that “Open in a new tab” is toggled off (don’t touch the toggle, just note).
  5. Tap into another block.
  6. Tap back into the block with the link, and carefully place your cursor mid-word within the link.
  7. Open link settings again and see that “Open in a new tab” is toggled on.
  8. Tap to close link settings. Note that the word is highlighted, but the “link” icon is not.
  9. If you tap link settings again, you’ll see that once again “Open in a new tab” is toggled off.

This makes it very difficult to know for sure whether I have in fact set the link to “Open in a new tab”.

Video:

linksettings

However, the target=“_blank” remains in tact despite it not appearing consistently.
This has to be tested in a web browser, since currently preview posts in iOS opens them in the in-app browser. When we tap the link, the device browser opens, so there’s not a simple way to tell whether it was set to open in a new tab or not without browser tools.
In a browser, we can easily Inspect Element, or simply test the link when previewing.

To Reproduce:

  1. Open WordPress.com in a web browser and navigate to Blog Posts.
  2. Open the Post you’ve been working on (doesn’t matter if it’s Draft or Published).
  3. Check the link. Is “Open in a new tab” toggled on? Check again. How about now?
  4. Preview or View the post.
  5. Check the link, either with Inspect Element or by simply tapping it, and note it opens in a new tab.

Screen Shot 2019-06-19 at 5 12 39 PM

Screen Shot 2019-06-19 at 5 54 46 PM

iPhone SE, (iOS 12.2) running WPiOS 12.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions