Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird behavior when clicking on text in code block, Firefox browser #1306

Closed
Szwendacz99 opened this issue May 31, 2024 · 1 comment
Closed
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced

Comments

@Szwendacz99
Copy link

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

  1. Use Firefox web browser (can be private window for clean cache)
  2. switch to rich text mode
  3. create note
  4. create code block
  5. insert multiline code inside that codeblock
  6. 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

image

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
  • OS: Fedora 40 Kinoite
@Szwendacz99 Szwendacz99 added bug Something isn't working need to reproduce Issue that has not been reproduced labels May 31, 2024
@Szwendacz99
Copy link
Author

The issue is already made in text app repo: issue link. Therefore I will close this issue here.

@Szwendacz99 Szwendacz99 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need to reproduce Issue that has not been reproduced
Projects
None yet
Development

No branches or pull requests

1 participant