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

Duplicate copied links in a nested list #2545

Open
2m3j opened this issue Nov 27, 2023 · 0 comments
Open

Duplicate copied links in a nested list #2545

2m3j opened this issue Nov 27, 2023 · 0 comments
Labels

Comments

@2m3j
Copy link

2m3j commented Nov 27, 2023

Describe a bug.

Steps to reproduce:

  1. Go to editor
  2. Click on + List
  3. Write text, insert a link to the text, copy the text with a link
  4. Create a new list level, insert text with a link (2nd level)
  5. Create a new list level, insert text with a link (3nd level)
  6. Open the developer tools and look at the HTML code for the third list item.

Extra links are displayed in the HTML markup, when saved, they are included in the data.

Expected behavior:

Only one link should be displayed

Screenshots:
image

Device, Browser, OS: Google Chrome Version 111.0.5563.110 (Official Build) (64-bit), Lunux Mint.

Editor.js version: 2.28.2

Plugins you use with their versions: I used the editor from the official website (Play with demo)

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

No branches or pull requests

1 participant