Skip to content

Support opening url in a new browser tab #2134

@shouichi

Description

@shouichi
  • What would you like to be able to do? Can you provide some examples?

By using Field::Url we can display URLs as links. In some cases, it would be convenient to open links in new browser tabs.

  • How could we go about implementing that?

Though the implementation would be straightforward, we may want to add rel="noopener" or rel="noreferrer.

https://docs.rubocop.org/rubocop-rails/cops_rails.html#railslinktoblank

  • Can you think of other approaches to the problem?

No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions