When clicking on text inside code block in rich text mode, the text lines get surrounded by weird lines. When this is the case, then very weird things happend when trying to edit this code, like inserting newline using enter places this newline 2 lines further, or the whole page jumps up few screens.
Steps to reproduce
Use Firefox web browser (can be private window for clean cache)
switch to rich text mode
create note
create code block
insert multiline code inside that codeblock
try starting to edit this code by clicking somewhere inside of that code, like in the middle of a line, where there are characters also after the cursor
Expected behaviour
nothing special, cursor jumps where I have clicked
Actual behaviour
All lines inside the code block are surrounded with weird highlight, and then using backspace or enter have weird, unexpected behavior
Screenshots
Server
Please complete the following information.
Notes app version: 4.10.0
Nextcloud version: Nextcloud Hub 8 (29.0.1)
OS: Fedora
PHP version: 8.3
Client
Please complete the following information.
Browser (incl. version): Firefox 126.0.1 (64-bit) from Flatpak
When clicking on text inside code block in rich text mode, the text lines get surrounded by weird lines. When this is the case, then very weird things happend when trying to edit this code, like inserting newline using enter places this newline 2 lines further, or the whole page jumps up few screens.
Steps to reproduce
Expected behaviour
nothing special, cursor jumps where I have clicked
Actual behaviour
All lines inside the code block are surrounded with weird highlight, and then using backspace or enter have weird, unexpected behavior
Screenshots
Server
Please complete the following information.
Client
Please complete the following information.