diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index 198812d6a03e6..3157eaaea9faa 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -191,9 +191,6 @@ .block-editor-block-list__block.is-multi-selected { > .block-editor-block-list__block-edit::before { - // Todo: start by limiting it to not nest - // Then hide selection in placeholders and do something else - // Then make a mockup for multi block selection for the new UI — this includes an exception for contiguous paragraphs border-left-color: $dark-opacity-light-800; box-shadow: inset $block-left-border-width 0 0 0 $dark-gray-500; @@ -217,6 +214,13 @@ .block-editor-block-list__block.is-multi-selected .block-editor-block-list__block.is-multi-selected > .block-editor-block-list__block-edit::before { box-shadow: none; } + + // Provide exceptions for placeholders. + .components-placeholder { + ::selection { + background: transparent; + } + } }