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 Classic Block in the Unsupported Block editor #12679

Conversation

hypest
Copy link
Contributor

@hypest hypest commented Aug 14, 2020

This PR introduces a fix for the block editor for better support of the Classic Block.

Gutenberg-mobile PR: wordpress-mobile/gutenberg-mobile#2550

It's based on gb-mobile v1.33.1.

To test:

  1. Switch to html mode and write some text in-between two blocks, making sure the text is not inside the block delimiters
  2. Switch back to visual mode
  3. There should be an unsupported block displayed between the blocks the text was inserted
  4. Use the "?" button of the unsupported block and then "Edit block in web browser" to launch the Unsupported Block editor
  5. Notice the text being displayed inside a "Classic" block without an error 🎉
  6. Make some changes to the text and hit the "✔️" icon in the upper right to commit the changes
  7. Switch to html mode again and notice that the text includes the changes made inside the Unsupported Block editor 🎉

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

maxme and others added 30 commits January 22, 2018 07:34
Rewind: Add placeholder numbering
This reverts commit 8b424a0, reversing
changes made to 9af8366.
jkmassel and others added 14 commits June 1, 2020 10:40
…e-to-master

Merge 15.0 code freeze to master
…tes-to-master

Merge 15.0 release notes to master
…e-to-master

Merge 15.1 code freeze to master
…e-to-master

Merge 15.2 code freeze to master
…tes-to-master

Merge 15.2 release notes to master
…tes-to-master

Merge 15.4 release notes to master
@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Aug 14, 2020

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Aug 14, 2020

Warnings
⚠️ PR is missing at least one label.
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@hypest hypest changed the title Update gb-mobile hash to point to the fix Fix Classic Block in the Unsupported Block editor Aug 14, 2020
@hypest hypest force-pushed the gutenberg/fix-classic-block-in-unsupported-editor branch from 17c7ba3 to 79102ae Compare August 14, 2020 12:34
@peril-wordpress-mobile
Copy link

You can test the changes on this Pull Request by downloading the APK here.

@hypest hypest changed the base branch from master to gutenberg/hotfix_1.33.2 August 14, 2020 12:53
@marecar3 marecar3 self-requested a review August 14, 2020 14:16
@marecar3 marecar3 marked this pull request as ready for review August 14, 2020 15:18
Copy link
Contributor

@marecar3 marecar3 left a comment

Choose a reason for hiding this comment

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

LGTM! Working as expected on WPAndroid.

@cameronvoell cameronvoell changed the base branch from gutenberg/hotfix_1.33.2 to gutenberg/integrate_hotfix_1.33.2 August 14, 2020 21:51
@mchowning
Copy link
Contributor

We can close this one, right @cameronvoell ?

@cameronvoell
Copy link
Contributor

We can close this one, right @cameronvoell ?

Yep! this was merged here: #12685.

Change was brought to WordPressAndroid develop through WordPress/gutenberg#24602 and the regular release process.

@hypest hypest deleted the gutenberg/fix-classic-block-in-unsupported-editor branch December 20, 2021 11:36
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.