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

Handle consecutive spaces when copying and pasting #4394

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

luin
Copy link
Member

@luin luin commented Aug 27, 2024

Replaces #4319

Test Plan

  1. Paste content contains multiple regular spaces into Quill editor, make sure they are collapsed correctly unless they are inside a <pre>.
  2. Paste content contains multiple   spaces into Quill editor, make sure they are not collapsed and they are converted into regular spaces.
  3. Copy content that contains multiple spaces from Quill editor, make sure they are copied as non-breaking spaces.
  4. Make sure the bug mentioned in Fix white spaces not being preserved when pasted into editor #4319 is not reproducible anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant