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

Copy/pasting bullets results in losing last bullet #696

Closed
sachinrekhi opened this issue May 24, 2016 · 1 comment
Closed

Copy/pasting bullets results in losing last bullet #696

sachinrekhi opened this issue May 24, 2016 · 1 comment

Comments

@sachinrekhi
Copy link
Contributor

sachinrekhi commented May 24, 2016

When you copy/paste a series of bullets from one part of a Quill document to another part of the same document, the last bullet is always lost.

The workaround is for the end user to also copy/paste the trailing newline immediately after the list of bullets. However this is very unintuitive for end-users to know to do this since other editors don't require this. Thus resulting most of the time missing the last bullet and having to manually add it back.

Steps for Reproduction

  1. Visit beta.quilljs.com
  2. Create a few bullets
  3. Copy/paste those bullets somewhere else in doc

Expected behavior:
All bullets are copied with bullet in front of each line

Actual behavior:
The last line is missing a bullet

Platforms:
Chrome 50 on Mac 10.11

Version:
Quill 1.0 Beta 2

image

@sachinrekhi
Copy link
Contributor Author

Hm, the bug behavior here seems to have changed in Quill 1.0 Beta 8. Now when you copy/paste a few bullets, the pasted result now actually has an extra empty bullet (as opposed to before when it was missing the last bullet):

copied bullets:
screen shot 2016-07-11 at 11 00 40 pm

pasted bullets:
screen shot 2016-07-11 at 11 00 45 pm

@jhchen jhchen closed this as completed in 78dc331 Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants