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

Mobile: Android: Pasting formatted text crashes the editor #30672

Closed
antonis opened this issue Apr 9, 2021 · 0 comments · Fixed by #30676 or wordpress-mobile/gutenberg-mobile#3359
Closed
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended

Comments

@antonis
Copy link
Member

antonis commented Apr 9, 2021

Description

Pasting formatted text crashes the editor on Android. This crash seems to occur after the introduction of the Transform Block functionality.

Note: The issue has emerged by the failing test (Gutenberg Editor paste tests copies styled text from one paragraph block and pastes in another) in the Dependabot Bump gutenberg PR

Step-by-step reproduction instructions

  1. Write some text on a paragraph block and add formatting (eg Bold)
  2. Select all and copy the text
  3. Paste the formatted text

Expected behaviour

Pasting formatted text works and does not crash the editor

Actual behaviour

Pasting formatted text crashes the editor.
Note that pasting plain text does not cause a crash

Screen recording

device-2021-04-09-170008.mp4

Device information

  • Device: Pixel 5
  • Operating system: Android 11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Type] Bug An existing feature does not function as intended
Projects
None yet
1 participant