# Bug BNE-84 - Dragging text selection containing a inline-link creates a copy instead of moving it

Project: Stream BlockNote extensions
Status: closed
URL: https://community.openproject.org/work_packages/BNE-84

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions, Modules and project features / Documents |
| Target versions | 17.6.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Ihor Dubas |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Insert a work package link via the slash menu or hash
    
2.  Type some text before and after the link
    
3.  Select the text and the work package link together
    
4.  Drag the selection to a different position in the document
    

### What is the buggy behavior?

Dragging a text selection that contains a work package link creates a copy of the selection at the drop position instead of moving it. The original content remains in place.

### What is the expected behavior?

Dragging a selection should move the content to the new position, removing it from the original location - consistent with standard drag behavior in text editors.

## Hints for QA

*   This needs to be tested in different browsers (at least the major ones - Firefox, Chrome, Safari and Edge)
