# Bug BNE-72 - Incorrect resize behavior for pasted inline-links

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Target versions | 17.5.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.  Create an inline-link in the editor
    
2.  Copy and paste the inline-link
    
3.  Ensure there are multiple inline-links in the list (including the pasted one)
    
4.  Select an inline-link that is **not the first/top one**
    
5.  Change its size (or apply any resize-related action)
    

### What is the buggy behavior?

Resizing a selected inline-link does not affect the intended element.  
Instead, the size change is applied to the top (first) inline-link in the list.

This issue occurs specifically after copying and pasting chips, suggesting that the reference or selection mapping between UI elements and their internal state becomes inconsistent.

### What is the expected behavior?

The resize action should be applied **only to the currently selected chip**, regardless of its position in the list or whether it was copied/pasted.

### Environment information

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)
