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

Fix pasting in checklist does not preserve indentation #3064

Merged
merged 1 commit into from
Jun 14, 2020

Conversation

luin
Copy link
Member

@luin luin commented Jun 13, 2020

To reproduce:

  1. Run npm start and open http://localhost:9000/standalone/full/
  2. Add <button class="ql-list" value="unchecked"></button> to full.html so we can have a button to set list style to unchecked.
  3. Use the button to create a checklist with some nested items.
  4. Copy & paste the whole list.

Expected:
The indentation should be preserved.

Actual:
The indentation is lost.


Test Plan

Follow the reproducible steps above, make sure it works as expected.

@jhchen jhchen merged commit a201e1d into slab:develop Jun 14, 2020
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