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

Line beginning prepend auto list #6

Open
aight8 opened this issue Jan 4, 2017 · 2 comments
Open

Line beginning prepend auto list #6

aight8 opened this issue Jan 4, 2017 · 2 comments

Comments

@aight8
Copy link

aight8 commented Jan 4, 2017

Some text...‸
‸Some text...
- ‸Some text...

Should optionally result in a auto list too.

@aight8
Copy link
Author

aight8 commented Jan 10, 2017

What you think?

note: look at https://github.com/ngs/draft-js-markdown-shortcuts-plugin, they have implemented a similar functionality. this issue works there.

@makenosound
Copy link
Member

@aight8 This is actually sort of an intentional behaviour at the moment.

There are legitimate reasons to want to being an block with a Markdown list character without wanting it converted to a list, and so this plugin only converts them as lists are started from scratch. The draft-js-markdown-shortcuts-plugin approach is different: they check the entire line when an input is typed to convert. That’ll catch the use case you’re after, but it doesn’t give the same flexibility.

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

2 participants