Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting a link messes up link mark json output #1284

Closed
mmachatschek opened this issue May 7, 2021 · 0 comments
Closed

Pasting a link messes up link mark json output #1284

mmachatschek opened this issue May 7, 2021 · 0 comments
Labels
Type: Bug The issue or pullrequest is related to a bug

Comments

@mmachatschek
Copy link
Contributor

Description
When pasting a link into the editor, the json output of the href attribute of the link is assigned as a array instead of a string.

Steps to reproduce the bug
Steps to reproduce the behavior:

  1. Open the sandbox link below
  2. Copy any url
  3. Paste it into the editor section
  4. Check the json output and see that the new link has the href link as array instead of a string

CodeSandbox
I created a CodeSandbox to help you debug the issue: https://codesandbox.io/s/determined-moser-id8fd?file=/src/components/HelloWorld.vue

Expected behavior
When pasting, the link should be a string too.

Environment?

  • tiptap version: 2
@mmachatschek mmachatschek added Type: Bug The issue or pullrequest is related to a bug v2 labels May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug The issue or pullrequest is related to a bug
Projects
None yet
Development

No branches or pull requests

1 participant