Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thought not trimmed #2425

Open
raineorshine opened this issue Sep 26, 2024 · 0 comments
Open

Thought not trimmed #2425

raineorshine opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

raineorshine commented Sep 26, 2024

This is a regression, so start by identifying the faulty commit and posting it here. Then consider an appropriate fix.

Steps to Reproduce

  1. Create a new thought with leading or trailing spaces.
  2. Set the cursor to null.

Current Behavior

The spaces are preserved.

Expected Behavior

The thought should be trimmed on import and on blur.

Testing

Add a unit test to cover this case.

@raineorshine raineorshine added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant