# Bug BNE-179 - Wrong selection when /wp is called between work package link cards

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

## 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 | 18.0.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

###   

### Steps to reproduce

1.  Add some work package links in size &quot;compact card&quot; in a document
    
2.  Try to create an new work package via / command in between one or two of the card links
    
3.  See that the surrounding cards are selected
    

### What is the buggy behavior?

*   Other WP links should not be selected
    

###   

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/926096/content"><img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/926097/content">

### [Screencast\_from\_2026-10-26\_10-05-08.mp4](https://community.openproject.org/attachments/926098/Screencast_from_2026-10-26_10-05-08.mp4)

<br>

**Browser**

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

**Operating System**

*   [ ] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [x] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
