Skip to content

Commit

Permalink
Gutenberg 7.2.0: replace legacy editor- classes with block-editor-
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskmnds committed Jan 23, 2020
1 parent baeb9e4 commit 3b3138b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions extensions/blocks/contact-info/editor.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.jetpack-contact-info-block {
/* css class added to increase specificity */
.editor-plain-text.editor-plain-text:focus {
.block-editor-plain-text.block-editor-plain-text:focus {
box-shadow: none;
}

.editor-plain-text {
.block-editor-plain-text {
flex-grow: 1;
min-height: unset;
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion extensions/blocks/markdown/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

// @TODO: Remove all these specific styles when related Gutenberg core styles become more generic
.editor-block-list__block {
.block-editor-block-list__block {
.wp-block-jetpack-markdown__preview {
min-height: 1.8em;
line-height: 1.8;
Expand Down
4 changes: 2 additions & 2 deletions extensions/blocks/tiled-gallery/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
}

// Hide upload buttons in style picker preview
.editor-block-preview__content & {
.editor-media-placeholder {
.block-editor-block-preview__content & {
.block-editor-media-placeholder {
display: none;
}
}
Expand Down
6 changes: 3 additions & 3 deletions extensions/shared/components/block-nudge/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

.jetpack-block-nudge {
// Necessary extra specificity
&.editor-warning {
&.block-editor-warning {
margin-bottom: 0;
}

.editor-warning__message {
.block-editor-warning__message {
margin: 13px 0;
}

.editor-warning__actions {
.block-editor-warning__actions {
line-height: 1;
}

Expand Down

0 comments on commit 3b3138b

Please sign in to comment.