# Bug BNE-118 - Wrong placement of context menu if inline work package link spans multiple lines

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Target versions | 17.8.0 |
| Observed in versions |  |
| Sprint | Sprint 11: Versions stabilization |
| 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.  Open a document and add an inline work package link with a subject that spans multiple lines
    
2.  Click the inline work package link
    
3.  see the context menu open at a &quot;unrelated&quot; position
    

### What is the buggy behavior?

Context menu opens at a position that seems &quot;unrelated&quot; to the clicked inline work package link

### What is the expected behavior?

Context menu should open over where the inline work package link starts, not at the beginning of the line

###   

### Screenshots and other files

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

###
