editor.js icon indicating copy to clipboard operation
editor.js copied to clipboard

Bug: Link tool removes existing text formatting

Open akulistus opened this issue 9 months ago • 0 comments

When applying the link tool to already-formatted text (e.g., bold), the editor removes the existing formatting instead of preserving it.

Steps to reproduce:

  1. Select some text
  2. Apply bold formatting
  3. Use the link tool on the bold text

Expected behavior: The link tool formatting should be applied on top of the existing formatting.

Current behaviour: Current behaviour video

Expected behaviour: Expected behaviour video

Device, Browser, OS: PC, Edge, Windows 11

Editor.js version: 2.31.1

akulistus avatar Feb 02 '26 22:02 akulistus