From 13528cd9f6d321a586088193bcd157af2f2e5bef Mon Sep 17 00:00:00 2001 From: Copons Date: Fri, 21 May 2021 17:07:08 +0100 Subject: [PATCH] More renaming! --- docs/getting-started/faq.md | 2 +- .../src/components/list-view/use-list-view-drop-zone.js | 6 +++--- .../src/components/header/header-toolbar/style.scss | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/getting-started/faq.md b/docs/getting-started/faq.md index 87ac239e031906..4273c0cd775b74 100644 --- a/docs/getting-started/faq.md +++ b/docs/getting-started/faq.md @@ -95,7 +95,7 @@ This is the canonical list of keyboard shortcuts: , - Open the block navigation menu. + Open the list view menu. Shift+Alt+O O diff --git a/packages/block-editor/src/components/list-view/use-list-view-drop-zone.js b/packages/block-editor/src/components/list-view/use-list-view-drop-zone.js index c856e83332e38b..5185054269a921 100644 --- a/packages/block-editor/src/components/list-view/use-list-view-drop-zone.js +++ b/packages/block-editor/src/components/list-view/use-list-view-drop-zone.js @@ -87,7 +87,7 @@ const ALLOWED_DROP_EDGES = [ 'top', 'bottom' ]; /** * Given blocks data and the cursor position, compute the drop target. * - * @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in block navigation. + * @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in list view. * @param {WPPoint} position The point representing the cursor position when dragging. * * @return {WPListViewDropZoneTarget} An object containing data about the drop target. @@ -143,7 +143,7 @@ function getListViewDropTarget( blocksData, position ) { // as the user would intend to drop either before or after // this block. // - // This solves an issue where some rows in the block navigation + // This solves an issue where some rows in the list view // tree overlap slightly due to sub-pixel rendering. if ( isCursorWithinBlock ) { break; @@ -190,7 +190,7 @@ function getListViewDropTarget( blocksData, position ) { } /** - * A react hook for implementing a drop zone in block navigation. + * A react hook for implementing a drop zone in list view. * * @return {WPListViewDropZoneTarget} The drop target. */ diff --git a/packages/edit-post/src/components/header/header-toolbar/style.scss b/packages/edit-post/src/components/header/header-toolbar/style.scss index a67152bc09d2fd..a3d801eb2133d2 100644 --- a/packages/edit-post/src/components/header/header-toolbar/style.scss +++ b/packages/edit-post/src/components/header/header-toolbar/style.scss @@ -28,7 +28,7 @@ } } - // Hide table of contents and block navigation on mobile. + // Hide table of contents and list view on mobile. .block-editor-list-view { display: none;