Setting to open external links in new window or tab

Created on 7 April 2022, almost 3 years ago
Updated 27 January 2024, 12 months ago

Problem/Motivation

Would like to open external link on a Link field in a new tab or window.

Proposed resolution

Add an option to open external links in a new window or tab (_blank)

Remaining tasks


Add tests

User interface changes

Add tick box "Open external link in new window"

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
LinkΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom darrenwh Bristol

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Merge request !6339Applying patch β†’ (Open) created by franadame
  • Pipeline finished with Canceled
    12 months ago
    Total: 872s
    #83137
  • Pipeline finished with Failed
    12 months ago
    Total: 499s
    #83157
  • Pipeline finished with Success
    12 months ago
    Total: 675s
    #83186
  • πŸ‡ͺπŸ‡ΈSpain franadame Seville

    I've added the patch to the fork and fixed the unit testing for the new array structure.

  • πŸ‡ͺπŸ‡ͺEstonia hkirsman

    The fix from last MR works for me and will go to our prod env. Thank you! Hope this gets merged soon.

  • First commit to issue fork.
  • πŸ‡¦πŸ‡ΊAustralia mindcraft Melbourne

    I have updated the patch by darrenwh and resolved the conflict against 11.x branch. I have also removed StringTranslationTrait as LinkFormatter already support t() method.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    MR appears to be missing test coverage and an upgrade path.

Production build 0.71.5 2024