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

Remove support for list item with * #28

Merged
merged 3 commits into from
Oct 18, 2019
Merged

Remove support for list item with * #28

merged 3 commits into from
Oct 18, 2019

Conversation

p-salmon
Copy link
Contributor

@p-salmon p-salmon commented Sep 5, 2019

With the latest version of Quill, the support for list starting with * has been added by default:
slab/quill#1819

The following line were conflicting with this behaviour, creating weird behaviour where two lines were being cleaned.

We've removed the support for * but let the support for + .
We haven't renamed the match and let the asterisk-list intentionally, happy to change it if needed.

Thanks again for the awesome project, it's been really useful for us!

Build changes

Fix the package-lock

Fix the package-lock
@patleeman
Copy link
Owner

Thanks for updating this.

I'm thinking we should update the minor version to reflect this fairly large change. What do you think?

Also, do you think we should pin the dependency in the package.json to the latest version?

@@ -186,7 +186,7 @@ class MarkdownShortcuts {
},
{
name: 'asterisk-ul',
pattern: /^(\*|\+)\s$/g,
pattern: /^\+\s$/g,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a note somewhere here that the asterisk was removed in quill version xx.xx.xx?

Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment the line above.

@p-salmon
Copy link
Contributor Author

p-salmon commented Sep 10, 2019

@patleeman Thanks for your review, I've added a comment and updated the version. I can squash the commit for another PR if needed.

Also, do you think we should pin the dependency in the package.json to the latest version?

I don't think it's necessary but maybe I am missing something.

@p-salmon p-salmon requested a review from patleeman September 10, 2019 21:02
@p-salmon
Copy link
Contributor Author

p-salmon commented Oct 17, 2019

Hey @patleeman ! Any news on this? Thanks again for the project :)

@patleeman patleeman merged commit ca61207 into patleeman:master Oct 18, 2019
@patleeman
Copy link
Owner

Thanks for the work on this @p-salmon

@p-salmon
Copy link
Contributor Author

p-salmon commented Feb 4, 2021

Hey @patleeman ! It's been a while but would be nice to have a new version with this fix ^^ Thanks!

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