Content
View differences
Updated by Judith Roth 6 days ago
### Steps to reproduce
1. Insert an inline a work package link block via the slash menu or hash
2. Click on the block to select it (without selecting any surrounding text)
3. Press Ctrl+C
4. Press Ctrl+V
### What is the buggy behavior?
Nothing is pasted. Copying a single work package block in isolation does not work.
### What is the expected behavior?
Pressing Ctrl+C on a selected work package block followed by Ctrl+V should paste a copy of the block at the cursor position.
### Technical hints
I assume this is due to not setting the selection correctly when clicking on inline work package links. They just get the blue border, but the cursor is not moving its position. So on click, when we add the blue border, we also need to update BlockNote's current selection to include the work package link.
<br>
### Hints for QA
Please test in different browsers. We already encountered different behaviour for chrome and firefox. So checking the other browsers we want to support would be good, too.
1. Insert an inline
2. Click on the block to select it (without selecting any surrounding text)
3. Press Ctrl+C
4. Press Ctrl+V
### What is the buggy behavior?
Nothing is pasted. Copying a single work package block in isolation does not work.
### What is the expected behavior?
Pressing Ctrl+C on a selected work package block followed by Ctrl+V should paste a copy of the block at the cursor position.
### Technical hints
I assume this is due to not setting the selection correctly when clicking on inline work package links. They just get the blue border, but the cursor is not moving its position. So on click, when we add the blue border, we also need to update BlockNote's current selection to include the work package link.
<br>
### Hints for QA
Please test in different browsers. We already encountered different behaviour for chrome and firefox. So checking the other browsers we want to support would be good, too.