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 #7958 by checking for valid firstChild. #7959

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

tomi-bigpi
Copy link
Contributor

Suggested merge commit message (convention)

Fix (paste-from-office): Fix list paste from Google Docs with empty item. Closes #7958.

Additional information

Note that I didn't include an HTML file named empty-list-item.html under packages/ckeditor5-paste-from-office/tests/_data/paste-from-google-docs/lists/empty-list-item as I couldn't find any references to the use in the other fixtures that had that corresponding file.

Copy link
Contributor

@jodator jodator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tomi-bigpi! Thanks for the PR. All looks good and pasting empty list item from GDocs works 🎉

Note that I didn't include an HTML file named empty-list-item.html

I don't recall now how those should be constructed but big thanks for adding a good test for this case :)

@jodator jodator merged commit ebf6bb7 into ckeditor:master Aug 28, 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
2 participants