nextcloud / nextcloud/text

Ctrl+A inside table cell should only select all of the cell's content instead of the whole document.

Open
#5,785 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: tables good first issue
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug
Ctrl+A usually only selects the current cell content if the user is inside a table instead of selecting the whole document

To Reproduce
Steps to reproduce the behavior:

  1. Create a new table
  2. Create some cells with text content
  3. Enter a cell and press Ctrl+A

Expected behavior
Only the text inside the cell should be selected.

Server details:

  • Nextcloud version: 28.0.4
  • PHP Version: 8.3
  • Database: PostgreSQL 15

Client details:

  • OS: Arch Linux
  • Browser: Firefox
  • Browser version: 125.0.3
  • Device: Desktop

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

No file or test is named in the issue. Start by locating the table-cell keyboard-selection handling in the JavaScript editor, reproduce the Ctrl+A steps, and verify that selection is limited to the current cell while document-level Ctrl+A remains unchanged.

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
Active
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.