Skip to content

Links in custom non-editable blocks open twice #1040

Closed

Description

@mfanselmo

Describe the bug
Hey, when you have a link inside of a custom non editable block, with the usual stuff to open it in a new page, it opens twice. Seems to be related to thishttps://github.com/ueberdosis/tiptap/issues/4877, resolved by this ueberdosis/tiptap#5040.

To Reproduce

https://stackblitz.com/edit/github-a6kavu-fbsh1d?file=App.tsx

  • Click on the google link there, make sure the popups are able to open on stackblitz (I had to enable them to see the issue). Two tabs should open with the google link
Screen.Recording.2024-08-28.at.3.41.01.PM.mov

Misc

  • Node version:
  • Package manager:
  • Browser:
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Activity

  1. matthewlipski commented on Aug 30, 2024

    @matthewlipski
    Collaborator

    Nice find! Thanks for providing the TipTap links too👍

  2. added
    needs-triage
    on Feb 3, 2026
  3. added
    bug:P4
    bug:P3
    and removed
    bug:P4
    needs-triage
    on Feb 23, 2026
  4. EssamEmad commented on Apr 1, 2026

    @EssamEmad

    Is there a work around for this in the meantime?

  5. nperez0111 commented on Apr 1, 2026

    @nperez0111
    Contributor

    Hi @EssamEmad if you are running into this, I'd be happy to accept a contribution for this. As we've labeled this as a lower priority issue, we probably will not get around to fixing it on our side for a while.

  6. EssamEmad commented on Apr 8, 2026

    @EssamEmad

    @nperez0111 Hello! Apologies for missing this! I actually worked around it by replacing the href with a button and a function that manually opens the URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions