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

Last pasted line is using the alignment and direction of the active line in the editor #898

Closed
benbro opened this issue Aug 30, 2016 · 3 comments

Comments

@benbro
Copy link
Contributor

benbro commented Aug 30, 2016

When pasting several lines into the editor, the last line uses the alignment and direction of the currently active line in quill.
I think that in multi-line paste the editor should ignore the formatting in quill and only use the paste formatting or no formatting for plain text. Not sure what to do with 'inline' paste.

Steps for Reproduction

  1. Visit http://quilljs.com/docs/formats/
  2. Press on the alignment button and change the line to 'center'
  3. Copy the following three lines and paste in quill
aaa
bbb
ccc

Expected behavior:
All pasted lines should have the same alignment.

Actual behavior:
The last line has center alignment

Platforms:
Chrome 52 on Windows 7
Firefox 48 on Windows 7

Version: [version]
1.0.0-rc3

@Hamza-Khurshid
Copy link

Facing the same issue, any update on this

@benbro
Copy link
Contributor Author

benbro commented Jan 30, 2024

Might be related to #3976

@benbro
Copy link
Contributor Author

benbro commented Feb 3, 2024

Fixed in v2.0.0-rc.0

@benbro benbro closed this as completed Feb 3, 2024
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

3 participants