Skip to content

URLs in heading do not work in readonly mode #3822

@42ske

Description

@42ske

Describe the bug
URLs in headings do not work in read-only mode. If you click at them nothing happens. If you open the same file with write permissions in the Text-App via Files everything works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Collectives
  2. Insert an URL an format it as heading (h1, h2, …)
  3. try to open the URL by clicking to it.
  4. error: nothing happens

Expected behavior
I would expect a new browser tab to be opened with the URL as it ist if you open it from within the Text-App.

Client details:

  • OS: macOS, iOS, iPadOS
  • Browser: Firefox, Safari
  • Version: latest versions of OS as well as Browser
  • Device: iMac M1, iPhone SE 2022, iPad Pro 11" 3rd generation
Server details

Collectives app version: (see Nextcloud apps page)
2.2.1

Operating system:
Web server:
Database:
PHP version:
reproduced the bug on different servers.

Nextcloud version: (see Nextcloud admin page)
25.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdiscuss

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions