Stacks-Editor
Stacks-Editor copied to clipboard
The code_block command should merge selected paragraphs
Describe the bug
Multiple selected paragraphs are transformed into multiple code blocks in rich text mode
To Reproduce
- Type a line of text, then a second, third, ...
- Select all three paragraphs and hit the code_block toolbar icon
- Note that there are three code_blocks
Expected behavior
There should be a single code_block with all three lines included
More info on what we need to do here: https://discuss.prosemirror.net/t/how-can-i-merge-paragraphs-in-a-code-block/4542