Skip to content

Commit

Permalink
Add comment on core/editor store use
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix authored and MaggieCabrera committed May 9, 2024
1 parent adcecd7 commit 3ab955a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ function ZoomOutModeInserters() {
const { getSettings, getBlockOrder } = select( blockEditorStore );
const { sectionRootClientId: root } = unlock( getSettings() );
// To do: move ZoomOutModeInserters to core/editor.
// Or we perhaps we should move the insertion point state to the
// block-editor store. I'm not sure what it was ever moved to the editor
// store, because all the inserter components all live in the
// block-editor package.
// eslint-disable-next-line @wordpress/data-no-store-string-literals
const editor = select( 'core/editor' );
return {
Expand Down

0 comments on commit 3ab955a

Please sign in to comment.