nextcloud / nextcloud/notes

Links do not open in a separate tab

Open
#1,429 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: Markdown-it
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Please make a clear and concise description of what the bug is.

Steps to reproduce

  1. Set your app Display Mode as Open in preview mode
  2. Create a Note
  3. Paste an internet link, e.g. https://wasgij.com/puzzles/blooming-marvellous/
  4. Switch to preview mode
  5. Click on the link
Expected behaviour

It should open the page in a new tab or new window

Actual behaviour

The link opens in the same tab as Nextcloud, so we lose access to the notes

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: 4.11.0
  • Nextcloud version: 30.0.0
  • OS: docker-compose
  • Web server: docker-compose
  • PHP version: docker-compose
  • Database: docker-compose

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

Client

Please complete the following information.

  • Browser (incl. version): Opera 114
  • OS: Windows 11 24H2

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue with Notes 4.11.0 in preview mode using the supplied link, then trace the preview link rendering and its existing frontend tests. Done means external links open in a separate tab or window while the Nextcloud Notes tab remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.