Skip to content

Commit

Permalink
Add explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Apr 8, 2024
1 parent d11bd99 commit 5d23d70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-editor/src/components/block-canvas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export function ExperimentalBlockCanvas( {
>
<EditorStyles
styles={ styles }
/*
* The wrapper selector needs a little specificity but not too much, so block
* styles can override root layout styles but not block style variations.
*/
scope="div:where(.editor-styles-wrapper)"
/>
<WritingFlow
Expand Down

0 comments on commit 5d23d70

Please sign in to comment.