Text Editor width toggle missing for plain text files since Nextcloud Hub 25 Autumn (32.0.0)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Describe the bug
Since upgrading to Nextcloud Hub 25 Autumn (32.0.0) the width of the text editor is too narrow, taking up 1/3 of the screen
To Reproduce
Steps to reproduce the behavior:
- Go to 'Files' and navigate to a text file
- Click on the file to open it
- See error
Expected behavior
The text editor would take up more of the screen, or be adjustable
Server details:
- Nextcloud version: Nextcloud Hub 25 Autumn (32.0.0)
- PHP Version: PHP 8.3.26 (cli) (built: Oct 1 2025 20:35:14) (NTS)
- Database: mysql Ver 8.0.43-0ubuntu0.24.04.2 for Linux on x86_64 ((Ubuntu))
Client details:
- Windows 11 on Chrome 141.0.7390.55
- Firefox 143.0.4 on Ubuntu Mate 24.04
Specific details of the div which is not expanding; the width is locked to 766.875px, inheriting from ".editor__content". The "max-width" rule is the issue; if I disable it in dev tools, the page renders as expected:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by opening a plain text file from Files, then inspect the .editor__content styling and its max-width rule in the text editor. The fix is complete when the editor uses more of the available screen or can be adjusted, without narrowing plain text files in the reported browsers.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100