codex-team / codex-team/editor.js
Duplicate copied links in a nested list
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
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:

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)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.