TYPO3-Headless / nuxt-typo3

TYPO3 Frontend rendered in Vue.js and Nuxt (frontend for EXT:headless)
https://t3headless.macopedia.io/nuxt-typo3/
90 stars 35 forks source link

T3HtmlParser - unable to open local link in new tab #317

Closed mateusznarowski closed 1 year ago

mateusznarowski commented 1 year ago

Currently, links starting with "/" (i.e. local links) are always passed to $router, where a .preventDefault() call also occurs. As a result, a link with attribute target=""_blank will be opened in the same tab. The same thing happens when the user tries to open the link in a new tab by pressing Ctrl or Cmd at the same time.

mercs600 commented 1 year ago

@mateusznarowski thank you for fixing this