🐛 Bug Report: Links in mardown description content do not open in new tab #24753
Closed
2 tasks done
Labels
bug
Something isn't working
📜 Description
When links are included in a template yaml definition these are not opened in a new tab. There is precedence for this being the intent of the application in github issue #9146. The related PR #9148 provided a linkTarget property that can be passed in.
👍 Expected behavior
A github flavored markdown link provided in the description of a scaffolder field should open in a new tab.
👎 Actual Behavior with Screenshots
The link is actually opened in the current tab.
👟 Reproduction steps
- ./local-template.yaml
to as defined in plugins/scaffolder-backend/sample-templates/all-templates.yaml📃 Provide the context for the Bug.
When a user clicks a link in the markdown of the description of a template field the link is opened in the current tab. This causes users to lose progress on current template submissions which is especially frustrating for multi-step templates.
🖥️ Your Environment
OS: Windows_NT 10.0.19045 - win32/x64
node: v18.20.0
yarn: 3.8.1
cli: 0.26.5-next.1 (local)
backstage: N/A
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: