Browser: Brave 138.1.80.113
OS: Linux Mint 22.1 Cinnamon
URL: https://haug-final.2sinn.dev
Steps to Reproduce:
- Install Rank Math and/or ASE
- Build a page in Bricks that contains e.g. a text link or button leading to something external like https://www.youtube.com/watch?v=dQw4w9WgXcQ
- In Rank Math > General Settings > Links, select “Open External Links in New Tab/Window” at the end
- Click on the external link on the front end
- Disable the Rank Math option and set it in Admin and Site Enhancements > Content Management > “Open All External Links in New Tab”
- Repeat step 4
Both Rank Math and Admin and Site Enhancements (ASE) offer settings to make external links always open in new tabs. With a Bricks-built website, these do nothing. Unless one manually sets the “Open in New Tab” flag on the element in the builder, external links open in the same tab.
On the example website I linked at the beginning above, I used a JS snippet from this Facebook conversation:
If one removes that snippet and sets the option in RM or ASE, the “Termin online buchen” button in the front page hero will open in the same tab.