Skip to content

Commit

Permalink
Update wordpress monorepo (#21021)
Browse files Browse the repository at this point in the history
* Fix test errors in extensions/blocks/subscriptions/test/edit.js

  These aren't actually fatal and were present before, but they clutter
  the output when I'm trying to work out what's actually failing.

* No idea what changed, but now there's just one...

  ... <BlockControlsFill/> instead of a <BlockControlsFill> with a bunch
  of content (including a second <BlockControlsFill>). UI looks the same
  as far as I can tell.

* Avoid Gutenberg's "useSpace" hack in the rich-text component

  In WordPress/gutenberg#30244 they added a hack to avoid certain browsers
  activing a button instead of inserting a space. The hack uses
  `document.execCommand()`, which isn't available in jsdom.

  We can avoid it by just not using spaces in the string here, so let's do
  that.

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: matticbot <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/1223092279
  • Loading branch information
anomiex authored and matticbot committed Sep 10, 2021
1 parent af938b9 commit f4cae04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ This is an alpha version! The changes listed here are not final.
- Updated package dependencies
- Updated package dependencies
- Updated package dependencies
- Updated package dependencies
- Updated package dependencies.
- Update package dependencies
- Use Node 16.7.0 in tooling. This shouldn't change the behavior of the code itself.
Expand Down

0 comments on commit f4cae04

Please sign in to comment.