-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
Cannot move to next line in contenteditable div #249
Comments
Hello @CodeWithOz, Thank you for reporting your use case. Cheers, and have a nice day! :) |
Awesome work, thanks! When can we expect |
Thanks! |
@TarekRaafat hey it seems the problem isn't fully fixed, now I can only create one newline at a time. If the line I'm on doesn't contain any text, I can't create another new line. Is that expected? If so, can I disable it? Previously I used to be able to create as many newlines as I wanted even if they were all empty. |
Hello @CodeWithOz, Are you using |
No I'm not using it. I don't specify it in my config and from the docs the default is |
You need to set Would you please try it and let me know how it goes? |
@TarekRaafat yep that was the fix, thank you! |
System Information
Describe the bug
Using this library for a contenteditable div, pressing the "Enter" key doesn't cause the cursor to move to the next line. Essentially I can't create a new line using the "Enter" key. The correct behavior is that I should be able to create as many new lines as I want without this library preventing that behavior.
Steps to reproduce the behavior: <!-- Example below-!>
Expected behavior
Pressing the "Enter" key should always create a new line
Screenshots or GIF's (optional, but HIGHLY RECOMMENDED)
Not applicable
Additional context (optional)
This is for a cordova app as described earlier.
The text was updated successfully, but these errors were encountered: