nextcloud / nextcloud/notes

Hitting Enter doesn't go to new line

Open
#948 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: EasyMDE need to reproduce
Dominant language
JavaScript
Stars
738
Forks
162
Avg merge
6h 2m
Merged PRs (30d)
35

Description

Please make a clear and concise description of what the bug is. Please note, that issues with the Android app have to be reported under https://github.com/stefan-niedermann/nextcloud-notes/issues and issues with Nextcloud's Text app have to be reported under https://github.com/nextcloud/text/issues .

Steps to reproduce

  1. Make a sentence without a final period.
  2. Attempt to hit Enter for new line, returns to previous.
  3. Add a period to sentence and now it'll work.
Expected behaviour

Let me type without proper punctuation, if that is even the word.

Actual behaviour

It forces me to add a period after every line I write like an annoying school teacher

Screenshots

If applicable, add screenshots to help explain your problem.

Server

Please complete the following information.

  • Notes app version: Latest as of now
  • Nextcloud version: NC25
  • OS: x
  • Web server: x
  • PHP version: x
  • Database: x

I'm sure theres no more info required? Seems rather straight forward hopefully.

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

Start by reproducing the Enter-key behavior in the Notes web editor using the listed steps, comparing sentences with and without a final period. The issue names no source file or test, so locate the editor entry point first; done means Enter creates a new line without requiring punctuation.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.