-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: wrong ordered list regexp when extending list by pressing the enter key #925
Conversation
@@ -6,7 +6,7 @@ | |||
import CodeMirror from 'codemirror'; | |||
|
|||
/*eslint-disable */ | |||
var listRE = /^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/, | |||
var listRE = /^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]\s))(\s*)/, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
마크다운 스펙상의 문제는 해결이 됐는데, 사실 보고된 이슈는 다른 문제입니다.
코드 블록 내에서도 똑같이 발생하는 게 더 문제라서..
현재 커서 위치 혹은 툴바 state를 확인해서 코드 블록 내부에서는 동작하지 않도록 막는 처리를 해 줘야 할 것 같습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[4/23] 고생하셨습니다! 👍
55c285c
to
ede3fbd
Compare
Please check if the PR fulfills these requirements
fix #xxx[,#xxx]
, where "xxx" is the issue number)Description
1. a
Thank you for your contribution to TOAST UI product. 🎉 😘 ✨