Describe the bug
Code blocks behave weird in several regards in latest Text versions (tested on latest Nextcloud 33).
To Reproduce
Steps to reproduce the behavior:
- Create a second code block by typing "```"
- Paste multi-line content straight away
- See the first line has extra padding on the left
[The following was not reproducible on second try]
- Create a code block by typing "```"
- Write something, press
- The cursor disappears
- Copy multi-line text from outside the code block
- Place the cursor in the code block (sometimes it jumps out again straight away)
- Paste copied text
- See it appearing at the border of the code block (very top or bottom)
Server details:
- Nextcloud version: 33.0.3
Client details:
- OS: Linux (Wayland)
- Browser: Firefox 150.0.3
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Describe the bug
Code blocks behave weird in several regards in latest Text versions (tested on latest Nextcloud 33).
To Reproduce
Steps to reproduce the behavior:
[The following was not reproducible on second try]
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
Browser log