diff --git a/editor/modes/visual-editor/block-list.js b/editor/modes/visual-editor/block-list.js index a0af958a9bfbe..b67565af6ca8a 100644 --- a/editor/modes/visual-editor/block-list.js +++ b/editor/modes/visual-editor/block-list.js @@ -19,8 +19,6 @@ import VisualEditorSiblingInserter from './sibling-inserter'; import BlockDropZone from './block-drop-zone'; import { getBlockUids, - getBlockInsertionPoint, - isBlockInsertionPointVisible, getMultiSelectedBlocksStartUid, getMultiSelectedBlocksEndUid, getMultiSelectedBlocks, @@ -29,8 +27,6 @@ import { } from '../../selectors'; import { insertBlock, startMultiSelect, stopMultiSelect, multiSelect, selectBlock } from '../../actions'; -const INSERTION_POINT_PLACEHOLDER = '[[insertion-point]]'; - class VisualEditorBlockList extends Component { constructor( props ) { super( props ); @@ -196,47 +192,24 @@ class VisualEditorBlockList extends Component { } render() { - const { - blocks, - showInsertionPoint, - insertionPoint, - } = this.props; - - const blocksWithInsertionPoint = showInsertionPoint - ? [ - ...blocks.slice( 0, insertionPoint ), - INSERTION_POINT_PLACEHOLDER, - ...blocks.slice( insertionPoint ), - ] - : blocks; + const { blocks } = this.props; return (