Closed (works as designed)
Project:
External Link Pop-up
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Feb 2021 at 17:59 UTC
Updated:
28 Apr 2023 at 18:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
keerthana13 commentedComment #3
dewalt commented@keerthana13 please provide more details about steps to reproduce and environment (OS/browser). I've just tested - the URL opens in new tab if target link has attribute `target="_blank"`.
Comment #4
keerthana13 commentedSuppose link field is used in content type and external links are provided through this field and target attribute is not set. On clicking this link, external popup opens and when we click on continue it is opening in same tab instead of new tab. As we need all links opening through external link popup should open in new tab.
Comment #5
dewalt commented@kerthana13 - it is expected behavior for now, described in documentation.
ATTENTION: Pop-up link target isn't configured in the module, pop-up uses
"target" attribute of the link to open link same/new window.
I'll think about configuration option to allow the links be opened on new tab if target is not set for the link
I assume that if the link is planned to be opened a new window it is already has target attribute set by content editor. But I agree that if the attribute isn't set before it could be hard to do it on all the content and an option could take place.
Comment #6
keerthana13 commentedI added one checkbox "Open link in new tab" in configuration.
Comment #7
dewalt commentedComment #9
dewalt commented@keerthana13 I've commited the patch with small changes in the property key, its default value, added info to README. Please check and close the ticket if it works.
Comment #10
dewalt commentedComment #11
dewalt commentedComment #13
keerthana13 commentedHi @dewalt.. I noticed u missed to update property key in entity php file due to which facing issue while checking the box and saving the configuration. I am attaching the patch for minor fixes. Please have a look.
Comment #14
dewalt commentedComment #15
dewalt commentedHi @keerthana13,
Please make sure you are using the latest version of the module. Applying the patch "Open in new tab by default" functionality stopped working on my side.
Please describe a case to reproduce an issue and changes the patch provides.
Comment #16
dewalt commentedClosed due no activity