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

Crash on pasting HTML #1950

Closed
etoledom opened this issue Feb 24, 2020 · 4 comments · Fixed by #1964 or WordPress/gutenberg#20499
Closed

Crash on pasting HTML #1950

etoledom opened this issue Feb 24, 2020 · 4 comments · Fixed by #1964 or WordPress/gutenberg#20499
Assignees
Labels
Paste [Type] Bug Something isn't working

Comments

@etoledom
Copy link
Contributor

Describe the bug

The app crashes when pasting content copied from https://automattic.com/work-with-us/

Tested on iOS device (iPhone XS) running last develop (d514b1d). Copying from Safari 13.05 on MacOS 10.15.3.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://automattic.com/work-with-us/
  2. Copy the first part of the page (from Work With Us until the end of the Coming on board paragraph).
  3. Paste on Gutenberg Mobile (on an empty post).
  4. See error Type error: undefined is not an object.

Expected behavior
It should paste the content creating the different blocks as on web (https://mysitefortestingetoledom.wordpress.com/2020/02/24/paste-test-on-web/)

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6, Pixel 4]
  • OS: [e.g. iOS 8.1, Android X]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@etoledom etoledom added [Type] Bug Something isn't working Paste labels Feb 24, 2020
@etoledom
Copy link
Contributor Author

It also crashes on current WPiOS Beta (14.2).

@designsimply
Copy link
Contributor

Still crashing in WPiOS 14.4.0.0 TestFlight beta on iPhone 11 iOS 13.3.1. (40s)

@etoledom since #1964 has the 1.24 Milestone, I should be able to see the fix in 14.4 beta correct?

@designsimply designsimply reopened this Mar 13, 2020
@etoledom
Copy link
Contributor Author

@designsimply - We haven't yet released the version 1.24 of the editor, so this fix should come with the next WP Apps release (14.5)

@designsimply
Copy link
Contributor

That explains it! 😆 Thanks!

(I thought the version numbers aligned, i.e. 14.4 and 1.24.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Paste [Type] Bug Something isn't working
Projects
None yet
2 participants