Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutenberg 7.2.0: replace legacy editor- classes with block-editor- #14446

Merged
merged 1 commit into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -179,8 +179,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