# Bug BNE-88 - Inline-to-card resize should split the surrounding sentence

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

## 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.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 |  |
| 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 a text block with a chip embedded mid-sentence, e.g. `"Send this [inline-link] to the team"`

2.  Select the inline-link and resize it to card

3.  Observe that the surrounding text is not split at the chip's position

### What is the buggy behavior?

When a chip is resized from inline to card, the sentence it was part of should be split at the inline-link's position - text before the inline-link stays on the preceding line, the card-link is placed on its own line, and text after the inline-link continues on the next line below it.
