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

Using a custom embed blot throws an error after.appendChild is not a function #4524

Open
canvascat opened this issue Dec 12, 2024 · 0 comments

Comments

@canvascat
Copy link

Steps for Reproduction

  1. Visit https://codesandbox.io/p/sandbox/quill-demo-pqt4xx
  2. Load project and an error will occur in the console. after.appendChild is not a function

Expected behavior:

TypeError: after.appendChild is not a function

Actual behavior:

quill.updateContents(
  [
    {
      attributes: {
        link: "https://google.com",
      },
      insert: "Link",
    },
    {
      insert: " B ",
    },
  ]
);

Platforms:

Microsoft Edge 131.0.2903.86
windows10

Version: 2.0.3

#1984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant