Skip to content

Commit 4aea8d7

Browse files
committed
Use block-editor store instead of editor
1 parent bbb73b2 commit 4aea8d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/e2e-test-utils-playwright/src/page/insert-block.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function insertBlock( blockRepresentation ) {
2626
}
2727
const block = recursiveCreateBlock( _blockRepresentation );
2828

29-
window.wp.data.dispatch( 'core/editor' ).insertBlock( block );
29+
window.wp.data.dispatch( 'core/block-editor' ).insertBlock( block );
3030
}, blockRepresentation );
3131
}
3232

0 commit comments

Comments
 (0)