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

fix: untoggle ordered-list items first when toggling unordered-list items #93

Conversation

roryok
Copy link

@roryok roryok commented Jun 17, 2019

Fix for #92

When you attempt to run toggleUnorderedList on text containing existing ordered list items, it fails and throws an error in the console.

This is a workaround which first attempts to detect and untoggle any ordered items in the line before applying unordered formatting.

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 this pull request may close these issues.

2 participants