codex-team / codex-team/editor.js

Bug: Link cannot be removed

Open
#3,005 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

It does not remove the a-tag when clicking the "unlink" icon.

Steps to reproduce:
1. Go to [this codesandbox](https://codesandbox.io/p/devbox/editorjs-mentions-forked-h338vy?workspaceId=ws_LdZd4PkZng1Et6qB4dAoiM)
2. Select the link and click the "unlink" icon
3. Link is not removed

Expected behavior:
Link should be removed, this worked in Editor.js v2.29.1

Screenshots: https://codesandbox.io/p/devbox/editorjs-mentions-forked-h338vy?workspaceId=ws_LdZd4PkZng1Et6qB4dAoiM

Device, Browser, OS: Mac OSX, Chrome

Editor.js version: 2.31.6

Plugins you use with their versions: No plugins

Possible fix: https://github.com/codex-team/editor.js/pull/2998

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.