nextcloud / nextcloud/text

In rich editing mode, it is impossible to select the space between two consecutive code blocks

Open
#4,889 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Steps to reproduce

  1. As Display Mode, choose "Open in edit mode" and enter two lines in code blocks, with no empty lines between them:

image

  1. Enter rich editing mode and try to select the space between the code blocks. It will not be possible:
    image
Expected behaviour

Users should be able to enter text between the two code blocks

Actual behaviour

I had to switch back to edit mode to enter text between the two code blocks

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: 4.8.1
  • Nextcloud version: 27.0.2
  • OS: Arch
  • Web server: Debian/Open Media Vault
  • PHP version: 8.1.19
  • Database: mysql

Nextcloud configuration:

``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder ```

Client

Please complete the following information.

  • Browser (incl. version):
  • OS: Arch + Firefox 188.0.2

Log files

Add relevant parts of your nextcloud.log and/or your browser's JavaScript console here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in rich editing mode with two consecutive code blocks and no empty line between them. Start by inspecting the editor behavior around the gap, then verify that text can be entered between the blocks without switching back to edit mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.