Skip to content

Commit

Permalink
Provide exception for placeholderes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and Joen Asmussen committed Dec 4, 2019
1 parent ddb7589 commit 717c56e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
}
}
}


Expand Down

0 comments on commit 717c56e

Please sign in to comment.