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

I fixed the behavior of the editor when the enter key is pushed. #1502

Merged
merged 2 commits into from
Feb 10, 2018

Conversation

Matts966
Copy link

@Matts966 Matts966 commented Feb 4, 2018

On the enter key pushed, if already the line contains a token in markdown list, no completion is needed, I think.

For example, if I push the enter key when md is like below, and my cursor selects the head of the line,

- [ ] a

the behavior before


- [ ] - [ ] a

the behavior after.


- [ ] a

By this change, node_modules/codemirror/addon/edit/continueList.js could be trashed, but I can't because of the gitignore.

松井誠泰 added 2 commits February 4, 2018 10:03
On enter key pushed, if already the line contains a token in markdown list, no completion is needed, I think.

By this change, node_modules/codemirror/addon/edit/continueList.js could be trashed, but I can't because of the gitignore.
@Rokt33r Rokt33r added the bug 🐛 Issue concerns a bug. label Feb 6, 2018
@Rokt33r Rokt33r self-requested a review February 6, 2018 15:59
@Rokt33r Rokt33r added the awaiting review ❇️ Pull request is awaiting a review. label Feb 6, 2018
@Rokt33r
Copy link
Member

Rokt33r commented Feb 6, 2018

GJ!!:+1: I'll review this by tomorrow. How about to make another pull request against Codemirror to fix this problem?

@Matts966
Copy link
Author

Matts966 commented Feb 6, 2018

Thank you!
I try to make it.

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

Successfully merging this pull request may close these issues.

3 participants