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

Change Enter key behavior to insert <br> instead of <p> #4457

Open
softwaretirol opened this issue Oct 23, 2024 · 0 comments
Open

Change Enter key behavior to insert <br> instead of <p> #4457

softwaretirol opened this issue Oct 23, 2024 · 0 comments

Comments

@softwaretirol
Copy link

Hi,

I am currently using Quill for a project where the default behavior of the Enter key (which inserts a

element) does not align with my requirements. Instead of inserting a new paragraph (

), I would like the Enter key to insert a line break (
or \n).

Could you please provide guidance on how to configure this, or consider making this behavior configurable through an option or extension?

This feature would be extremely useful for cases where using single line breaks instead of paragraphs is preferred, such as in chat-like applications or custom forms.

Thank you for your time and support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant