Skip to content

Bug: Link tool removes existing text formatting #2982

@akulistus

Description

@akulistus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions