-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Linebreak within a list item #1511
Comments
i think it is a duplicate of #252 |
#252 asks for a compelling use case. i don't understand how this isn't it? this behavior has been part of microsoft word (and every other rich text editor i've ever used) for as long as i can remember. i'd argue that -- from a user perspective -- enter/shift+enter is as-expected in a rich text editor as ctrl+c/ctrl+p. |
Take a look at this: https://gist.github.com/ile/ce2e56b2d96a5e2c66e04b0ac5e4d3f3 |
@ile that gist is going to a 404 for me. |
This works perfectly: |
Most traditional editors allow to enter break line within a list item. "Enter" key usually create a new list item, while "Shift-Enter" usually break the line, but stay in the same list item. i.e. does not create a new bullet number.
Note: CSS supports break lines within list items. see example here.
Steps for Reproduction
Enter a numbered list
attempt to breakline at "!here!", without creating a new list item.
Expected behavior:
By using some supported API and some UI (e.g shift enter), break the second list item so the result will be:
!here! but stay in list item
Actual behavior:
No way to do it to the best of my knowledge. Enter key results in
Version:
1.2.6
The text was updated successfully, but these errors were encountered: