Automattic / isolated-block-editor

Repackages Gutenberg's editor playground as a full-featured multi-instance editor that does not require WordPress.
343 stars 50 forks source link

Update to Gutenberg 17 #253

Closed fjorgemota closed 8 months ago

fjorgemota commented 9 months ago

Related to: https://github.com/Automattic/p2/pull/6285.

Updates packages to match the ones from GB 17+ in order to fix issues and unblock the usage of Gutenberg 17.9 in the P2 app, via the isolated-block-editor.

You should test with a P2 as a consumer. To do that:

  1. Checkout P2 from the following branch: https://github.com/Automattic/p2/pull/6285.
  2. Change plugins/p2/package.json's isolated-block-editor to point to this branch:
"@automattic/isolated-block-editor": "github:Automattic/isolated-block-editor#update/gutenberg-17",
  1. Build and sync P2 to the sandbox.

Alternatively, you can follow the instructions at the bottom of https://github.com/Automattic/p2/pull/6285 and sync the diffs instead.

  1. Sandbox a test P2 to your sandbox;
  2. Now test the editor there. Make sure to smoke test and that the following issues are not happening anymore:
fullofcaffeine commented 8 months ago

@johngodley @fjorgemota Happy to help push this forward, let me know, and I can deploy this package and the new P2 version (https://github.com/Automattic/p2/pull/6285) at some point tomorrow if you don't beat me to it.

johngodley commented 8 months ago

Just a note that this is a public repo, so references to P2 shouldn't really be here! Instead it's better to refer from P2