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

Multi whitespaces will become one when pasting #23

Closed
kagol opened this issue Oct 24, 2019 · 2 comments
Closed

Multi whitespaces will become one when pasting #23

kagol opened this issue Oct 24, 2019 · 2 comments

Comments

@kagol
Copy link

kagol commented Oct 24, 2019

I guess the quill version(2.0.0-dev.3) is a problem because there is no such problem on the Quill official website which use v1.3.6.

expect:
image

actual:
image

@soccerloway
Copy link
Owner

I tried in quill 2.0.x official demo .
image
It's really a bug in quill 2.0.x-dev, it was mentioned in:
quilljs issue 1751
quilljs issue 1752
Hope these could help you.

@kagol
Copy link
Author

kagol commented Oct 24, 2019

I have seen these two issues, but i don't think this can solve this problem.
I think the reason is that the matchText judgment logic are inconsistent in quill v1.3.6 and v2.0.x-dev.
quill 1.3.6
image

quill 2.0.x-dev
image

But i have no idea how to fix it.

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