Content
View differences
Updated by Judith Roth 12 days ago
### Steps to reproduce
1. Open a document, write some text
2. in the middle, add a link work package block with `/wp`
3. See the cursor jump to the end of the line after insertion
Also for the # notation:
1. Open a document, write some text
2. in the middle, add a link work package block with `##` or `###`
3. See the cursor jump to the next line after insertion (instead of behind the newly added element)
### What is the buggy behavior?
Cursor should stay right behind the newly inserted work package instead of jumping somewhere else
### What is the expected behavior?
_Cursor should stay right behind the newly inserted work package_
###
### Screenshots and other files
[Screencast\_from\_2026-04-24\_14-42-34.webm](https://community.openproject.org/attachments/920676/Screencast_from_2026-04-24_14-42-34.webm)
[Screencast\_from\_2026-05-20\_09-49-36.webm](https://community.openproject.org/attachments/921209/Screencast_from_2026-05-20_09-49-36.webm) https://community.openproject.org/api/v3/attachments/920676/content
### Environment information
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._
1. Open a document, write some text
2. in the middle, add a link work package block with `/wp`
3. See the cursor jump to the end of the line after insertion
Also for the # notation:
1. Open a document, write some text
2. in the middle, add a link work package block with `##` or `###`
3. See the cursor jump to the next line after insertion (instead of behind the newly added element)
### What is the buggy behavior?
Cursor should stay right behind the newly inserted work package instead of jumping somewhere else
### What is the expected behavior?
_Cursor should stay right behind the newly inserted work package_
###
### Screenshots and other files
[Screencast\_from\_2026-04-24\_14-42-34.webm](https://community.openproject.org/attachments/920676/Screencast_from_2026-04-24_14-42-34.webm)
[Screencast\_from\_2026-05-20\_09-49-36.webm](https://community.openproject.org/attachments/921209/Screencast_from_2026-05-20_09-49-36.webm)
### Environment information
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_Please specify the browser language and the language of the OpenProject user for which the bug occurred._