Skip to content

Editing in code block does not work in firefox  #5695

@Aveyron-RetD

Description

@Aveyron-RetD

Describe the bug
In text try to edit code blocks. Cursor is going everywhere, input is jumping from line to line

To Reproduce
Steps to reproduce the behavior: reproduced on firefox not on edge.

  1. Insert some code
  2. Click on the code => Blue borders appears
  3. image
  4. Put the cursor to edit delete or add some stuff. Text is put in different sections of the code

Expected behavior
Cursor is put and follow normal behaviour.

Screenshots
If applicable, add screenshots to help explain your problem.

Server details:

  • Nextcloud version: 28.0.4
  • PHP Version: [e.g. 8.2]
  • Database: [e.g. MariaDB 10.6]

Client details:

  • OS: [e.g. Windows/macOS/Ubuntu]
  • Browser: [e.g. Firefox, Chrome] Firefox 125
  • Browser version: [e.g. 22]
  • Device: [e.g. iPhone6, desktop]
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) ...

Metadata

Metadata

Assignees

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions