External link target setting not being respected


(Daniel Marquard) #1

Although we have the “default other external links in new tab” setting enabled, new posts with links do not default to a blank target as expected, but rather open in the same tab.


(cpradio) #2

That isn’t how that feature works. It doesn’t put target="_blank" on the link. It is handled by the click-tracker, which receives the mouse click event and processes it.

Relevant code:


(Jay Pfaffman) #3

Also note that users can change the behavior in their preferences.