Line break issue in Rich Text Mode
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 738
- Forks
- 162
- Avg merge
- 6h 2m
- Merged PRs (30d)
- 35
Description
When using Rich Text Mode instead of the classic editing mode, line breaks after enumerations using hyphens are no longer recognized and replaced by space letters in the same line. When one inserts a new line with Shift+Enter and puts two spaces before an arrow for an indented line
- text
-> text
It creates a back slash to perform a line break:
- text
\-> text
But when reediting the note in the editing mode, the back slash appears as a regular letter. Hence, there is a compatibility issue between the editors for line breaks.
Steps to reproduce
- Create a .txt file in classic editing mode
- Add enumerations using hyphens, some indented with space letters
- Try to load and edit the note with Rich Text Mode
Server
- Notes app version: 4.7.2
- Nextcloud version: 26.0.0
- OS: Linux
- Web server:
- PHP version: 8.1
- Database: MySQL
Client
- Browser (incl. version): Firefox for Mac 111.0.1
- OS: macOS 12.6.3
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
No source file, test, or entry point is named. Reproduce the issue by creating a .txt note in classic editing mode, opening it in Rich Text Mode, and comparing the hyphenated line breaks; done means the same indented lines remain compatible in both editors.
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
- 48/100