Skip to content

Open in new tab #1544

Closed
Closed

Description

@jfrolich

It would be great for Linking to provide an option to open in a new window/tab. (Or is there already a way to do this?)

Activity

  1. steida commented on Feb 26, 2020

    @steida

    It's impossible to open a new tab without a link with the target.

  2. jfrolich commented on Feb 26, 2020

    @jfrolich
    ContributorAuthor
  3. steida commented on Feb 26, 2020

    @steida

    Window, not tab. Remember it's restricted because of popups.

  4. jfrolich commented on Feb 27, 2020

    @jfrolich
    ContributorAuthor

    Window, not tab. Remember it's restricted because of popups.

    You are right. I formulated it wrong, it should be open in new tab.

  5. changed the title [-]Open in new window[/-] [+]Open in new tab[/+] on Feb 27, 2020
  6. steida commented on Feb 28, 2020

    @steida

    It's impossible. The user has to click to a link. Browsers require that.

  7. jfrolich commented on Feb 28, 2020

    @jfrolich
    ContributorAuthor

    It's impossible. The user has to click to a link. Browsers require that.

    window.open second argument is target, if I use that with "_blank" it opens in a new tab (at least in Chrome)

  8. Sharcoux commented on Sep 21, 2020

    @Sharcoux

    Could this solve this issue?

  9. added this to the 0.15 milestone on Dec 4, 2020
  10. added a commit that references this issue on Feb 6, 2021
    b7b3830
  11. avanwinkle commented on Apr 9, 2022

    @avanwinkle
    Contributor

    Resurrecting this thread to ask why the implementation hard-coded _blank as the target, instead of the other proposal #1743 which allowed a parameter?

    I ask because there are scenarios where the desired behavior is not to open in a new tab, but that is currently impossible due to the hard-coded _blank.

  12. added a commit that references this issue on Sep 13, 2022
    79b5ffe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions