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

Prepending list before a paragraph deletes the list #280

Closed
YoranBrondsema opened this issue Jan 3, 2016 · 2 comments · Fixed by #282
Closed

Prepending list before a paragraph deletes the list #280

YoranBrondsema opened this issue Jan 3, 2016 · 2 comments · Fixed by #282
Assignees
Milestone

Comments

@YoranBrondsema
Copy link
Collaborator

When inserting a digit followed by a period before a paragraph, the list is created but the paragraph is deleted. See the screencast.

screencast

@bantic
Copy link
Collaborator

bantic commented Jan 6, 2016

@YoranBrondsema Thanks for reporting. I have a fix in #282 that avoids deleting the paragraph, but it also prevents the behavior I'm assuming you're expecting here, which is that typing "1. " at the start of a paragraph turns the remainder of that paragraph into a list item. That will take a little more work with the text-expansion code, so I'm going to open another issue to track it.

@YoranBrondsema
Copy link
Collaborator Author

@bantic Thanks for the fix! I think your fix offers better behavior cause there's always a workaround for users that expected a list, i.e. select the text and turn it into a list. For text being deleted there's not an easy workaround :-).

mixonic pushed a commit to mixonic/content-kit-editor that referenced this issue Jan 22, 2016
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

Successfully merging a pull request may close this issue.

2 participants