Automattic / isolated-block-editor

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

Reusable blocks have moved to a multi entity save flow #15

Open johngodley opened 3 years ago

johngodley commented 3 years ago

A change in Gutenberg 9.7 has meant that inline editing of reusable blocks is now possible. Changes are saved outside of the normal saving, and are part of a 'multi entity save flow'.

The P2 Editor needs to be aware of this and probably also perform what is needed for this multi entity save flow.

https://github.com/WordPress/gutenberg/pull/27887

See Automattic/p2editor#507

johngodley commented 3 years ago

This is quite tricky and will need some thought. The P2 Editor doesn't use the core/editor store for anything, and that is where reusable block changes are stored.