-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
How would WordPress/gutenberg#70405 and WordPress/gutenberg#70648 map to this plugin?
There is already some invalidation in place:
media-experiments/packages/editor/src/init/index.ts
Lines 50 to 58 in 51064c2
| onSuccess: ( attachments ) => { | |
| for ( const media of attachments ) { | |
| if ( media.id ) { | |
| void invalidateResolution( 'getMedia', [ | |
| media.id, | |
| { context: 'view' }, | |
| ] ); | |
| } | |
| } |
But maybe that's not sufficient?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels