Toggle for plaintext wrapping.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
When using plain text files users should be able to decide if they want lines to be wrapped or not. This should be implemented using a toggle. The toggle state could be remembered in the browser storage.
Either wrapping or not wrapping will not work for everyone or every file type / content. Having a toggle is quite common for a text editors.
Originally posted by @juliushaertl in https://github.com/nextcloud/text/issues/1407#issuecomment-1093018583
We also do not have a menubar in plaintext view so the ui is fairly simple anyway.
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
Start by locating the plaintext view and the existing line-wrapping behavior in the JavaScript application. Add a toggle that switches wrapping on and off, persists its state in browser storage, and verify that the setting is retained when reopening plaintext files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100