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

Update draftjs-filters to latest, fixing paste filtering crash. Fix #179 #181

Merged
merged 1 commit into from
Jan 23, 2019

Conversation

thibaudcolas
Copy link
Collaborator

This updates https://github.com/thibaudcolas/draftjs-filters to its latest version, including thibaudcolas/draftjs-filters#27 which fixes #179.

Input document: draftail-crash-elon-musk-article.docx

Repro:

  1. Open the input document linked above with Word (might also work with other word processors).
  2. Copy the content around the image
  3. Paste in the editor

Now, the image should be absent and the selection should be on the block preceding it.

@thibaudcolas thibaudcolas added the bug Something isn't working label Jan 23, 2019
@thibaudcolas thibaudcolas added this to the v1.1.0 milestone Jan 23, 2019
@thibaudcolas thibaudcolas merged commit 9dce7ff into master Jan 23, 2019
@thibaudcolas thibaudcolas deleted the bug/draft-js-filters-27 branch January 23, 2019 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copied content from Word Doc crashes Draftail/Wagtail
1 participant