plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Pressing return in a rich text field should not submit the field

Open jasonvanhattum opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

When I press return / enter in a rich text field I expect my cursor to move to a new line so I can continue editing. Instead, Plane interprets it as a submit action. This is particularly frustrating for bulleted lists.

I appreciate that I can do this with Shift+Enter but many of our users are unaware of this shortcut. I also appreciate that this behaviour is useful in other contexts like creating multiple cards quickly, so I wonder if there should be a distinction between plain text fields where this behaviour is desirable and rich text fields where this behaviour isn't desirable.

Steps to reproduce

Video of this in practice:

https://github.com/user-attachments/assets/86a78ee8-76f7-45f0-8214-0cf5774ca917

Environment

Production

Browser

Mozilla Firefox

Variant

Self-hosted

Version

v0.22.0

jasonvanhattum avatar Jul 22 '24 19:07 jasonvanhattum