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:
- Select some text
- Apply bold formatting
- 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:

Expected behaviour:

Device, Browser, OS: PC, Edge, Windows 11
Editor.js version: 2.31.1