Skip to content

Commit

Permalink
Block Editor: Bug fixes targetted for WordPress 5.3 RC3.
Browse files Browse the repository at this point in the history
The list of included fixes is:
WordPress/gutenberg#18108
WordPress/gutenberg#18051
WordPress/gutenberg#18106
WordPress/gutenberg#18102
Updated packages:
@wordpress/api-fetch@3.6.4
@wordpress/block-directory@1.0.4
@wordpress/block-library@2.9.4
@wordpress/core-data@2.7.4
@wordpress/data-controls@1.3.4
@wordpress/edit-post@3.8.4
@wordpress/editor@9.7.4
@wordpress/list-reusable-blocks@1.8.4
@wordpress/media-utils@1.2.4
@wordpress/server-side-render@1.3.4

Props desrosj, youknowriad.
Merges [{46606}] to the 5.3 branch.
See #48447.



Built from https://develop.svn.wordpress.org/branches/5.3@46611


git-svn-id: http://core.svn.wordpress.org/branches/5.3@46408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
gziolo committed Oct 29, 2019
1 parent 4b2996f commit 5bb6344
Show file tree
Hide file tree
Showing 24 changed files with 78 additions and 84 deletions.
7 changes: 2 additions & 5 deletions wp-includes/css/dist/block-library/editor-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ div[data-type="core/button"] div[data-block] {
display: flex;
flex-direction: column;
flex: 1 1 auto; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"],
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit,
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block],
Expand Down Expand Up @@ -600,7 +600,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
display: none;
width: auto;
margin: 0 -14px;
position: -webkit-sticky;
position: sticky;
z-index: 10;
top: 14px;
Expand Down Expand Up @@ -698,7 +697,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
max-height: 100%;
overflow-y: auto; }

@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.blocks-gallery-item .is-selected .block-editor-rich-text {
left: 0;
right: 0;
Expand Down Expand Up @@ -1135,7 +1134,6 @@ figure.block-library-media-text__media-container {
.wp-block-navigation-menu {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
grid-auto-flow: column;
align-items: center;
Expand All @@ -1148,7 +1146,6 @@ figure.block-library-media-text__media-container {
.wp-block-navigation-menu-item__edit-container {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
grid-auto-flow: column;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/editor-rtl.min.css

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions wp-includes/css/dist/block-library/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ div[data-type="core/button"] div[data-block] {
display: flex;
flex-direction: column;
flex: 1 1 auto; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"],
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit,
.wp-block-columns > .editor-inner-blocks > .editor-block-list__layout > [data-type="core/column"] > .editor-block-list__block-edit > div[data-block],
Expand Down Expand Up @@ -605,7 +605,6 @@ div[data-type="core/freeform"].is-selected .block-library-rich-text__tinymce::af
display: none;
width: auto;
margin: 0 -14px;
position: -webkit-sticky;
position: sticky;
z-index: 10;
top: 14px;
Expand Down Expand Up @@ -703,7 +702,7 @@ body.admin-color-light .blocks-gallery-item figure.is-selected {
max-height: 100%;
overflow-y: auto; }

@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.blocks-gallery-item .is-selected .block-editor-rich-text {
right: 0;
left: 0;
Expand Down Expand Up @@ -1140,7 +1139,6 @@ figure.block-library-media-text__media-container {
.wp-block-navigation-menu {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
grid-auto-flow: column;
align-items: center;
Expand All @@ -1153,7 +1151,6 @@ figure.block-library-media-text__media-container {
.wp-block-navigation-menu-item__edit-container {
display: -ms-grid;
display: grid;
grid-auto-columns: -webkit-min-content;
grid-auto-columns: min-content;
grid-auto-flow: column;
align-items: center;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/editor.min.css

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions wp-includes/css/dist/block-library/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
content: "";
font-size: 0;
min-height: inherit; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-cover-image::after,
.wp-block-cover::after {
content: none; } }
Expand Down Expand Up @@ -435,7 +435,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-item figure {
margin: 0;
height: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure,
.blocks-gallery-grid .blocks-gallery-image figure,
Expand All @@ -455,7 +455,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-image img,
.blocks-gallery-grid .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item img,
.blocks-gallery-grid .blocks-gallery-image img,
Expand Down Expand Up @@ -489,7 +489,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
Expand Down Expand Up @@ -678,19 +678,15 @@ section.wp-block-cover-image > h2,

.is-style-circle-mask img {
border-radius: 9999px; }
@supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) {
@supports (mask-image: none) or (-webkit-mask-image: none) {
.is-style-circle-mask img {
/* stylelint-disable */
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
/* stylelint-enable */
mask-mode: alpha;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-position: center;
mask-position: center;
mask-repeat: no-repeat;
mask-size: contain;
mask-position: center;
border-radius: none; } }

.wp-block-latest-comments__comment {
Expand Down Expand Up @@ -1405,7 +1401,7 @@ pre.wp-block-verse {
margin-left: 0; }
.wp-block-video video {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-video [poster] {
-o-object-fit: cover;
object-fit: cover; } }
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style-rtl.min.css

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions wp-includes/css/dist/block-library/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
content: "";
font-size: 0;
min-height: inherit; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-cover-image::after,
.wp-block-cover::after {
content: none; } }
Expand Down Expand Up @@ -439,7 +439,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-item figure {
margin: 0;
height: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image figure,
.wp-block-gallery .blocks-gallery-item figure,
.blocks-gallery-grid .blocks-gallery-image figure,
Expand All @@ -459,7 +459,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid .blocks-gallery-image img,
.blocks-gallery-grid .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery .blocks-gallery-image img,
.wp-block-gallery .blocks-gallery-item img,
.blocks-gallery-grid .blocks-gallery-image img,
Expand Down Expand Up @@ -493,7 +493,7 @@ section.wp-block-cover-image > h2,
.blocks-gallery-grid.is-cropped .blocks-gallery-item a,
.blocks-gallery-grid.is-cropped .blocks-gallery-item img {
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-gallery.is-cropped .blocks-gallery-image a,
.wp-block-gallery.is-cropped .blocks-gallery-image img,
.wp-block-gallery.is-cropped .blocks-gallery-item a,
Expand Down Expand Up @@ -686,19 +686,15 @@ section.wp-block-cover-image > h2,

.is-style-circle-mask img {
border-radius: 9999px; }
@supports ((-webkit-mask-image: none) or (mask-image: none)) or (-webkit-mask-image: none) {
@supports (mask-image: none) or (-webkit-mask-image: none) {
.is-style-circle-mask img {
/* stylelint-disable */
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="50"/></svg>');
/* stylelint-enable */
mask-mode: alpha;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-size: contain;
-webkit-mask-position: center;
mask-position: center;
mask-repeat: no-repeat;
mask-size: contain;
mask-position: center;
border-radius: none; } }

.wp-block-latest-comments__comment {
Expand Down Expand Up @@ -1417,7 +1413,7 @@ pre.wp-block-verse {
margin-right: 0; }
.wp-block-video video {
max-width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.wp-block-video [poster] {
-o-object-fit: cover;
object-fit: cover; } }
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/style.min.css

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions wp-includes/css/dist/edit-post/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
.edit-post-header {
height: 56px;
top: 0;
position: -webkit-sticky;
position: sticky;
flex-wrap: nowrap; } }
@media (min-width: 600px) {
Expand All @@ -97,7 +96,7 @@
top: 0; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-header > .edit-post-header__settings {
order: initial; } }

Expand Down Expand Up @@ -439,7 +438,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
overscroll-behavior-y: none; } }
.edit-post-layout__content .edit-post-visual-editor {
flex: 1 1 auto; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-layout__content .edit-post-visual-editor {
flex-basis: 100%; } }
.edit-post-layout__content .edit-post-layout__metaboxes {
Expand Down Expand Up @@ -578,7 +577,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
margin: 0 0 2rem 0; }

.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
Expand Down Expand Up @@ -688,6 +686,16 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
z-index: 5; }
.edit-post-meta-boxes-area .is-hidden {
display: none; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"],
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"] {
border: 1px solid #6c7781; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]:checked,
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]:checked {
background: #fff;
border-color: #6c7781; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]::before,
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]::before {
margin: -3px -4px; }

.edit-post-meta-boxes-area__clear {
clear: both; }
Expand Down Expand Up @@ -864,7 +872,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
.editor-post-author__select {
margin: -5px 0;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.editor-post-author__select {
width: auto; } }

Expand Down Expand Up @@ -933,7 +941,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
padding-right: 0;
padding-left: 4px;
border-top: 0;
position: -webkit-sticky;
position: sticky;
z-index: -1;
top: 0; }
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-post/style-rtl.min.css

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions wp-includes/css/dist/edit-post/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
.edit-post-header {
height: 56px;
top: 0;
position: -webkit-sticky;
position: sticky;
flex-wrap: nowrap; } }
@media (min-width: 600px) {
Expand All @@ -97,7 +96,7 @@
top: 0; } }
.edit-post-header > .edit-post-header__settings {
order: 1; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-header > .edit-post-header__settings {
order: initial; } }

Expand Down Expand Up @@ -439,7 +438,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
overscroll-behavior-y: none; } }
.edit-post-layout__content .edit-post-visual-editor {
flex: 1 1 auto; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.edit-post-layout__content .edit-post-visual-editor {
flex-basis: 100%; } }
.edit-post-layout__content .edit-post-layout__metaboxes {
Expand Down Expand Up @@ -578,7 +577,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
margin: 0 0 2rem 0; }

.edit-post-manage-blocks-modal__category-title {
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 16px 0;
Expand Down Expand Up @@ -688,6 +686,16 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
z-index: 5; }
.edit-post-meta-boxes-area .is-hidden {
display: none; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"],
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"] {
border: 1px solid #6c7781; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]:checked,
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]:checked {
background: #fff;
border-color: #6c7781; }
.edit-post-meta-boxes-area .postbox-container .postbox input[type="checkbox"]::before,
.edit-post-meta-boxes-area .postbox-container .postbox input[type="radio"]::before {
margin: -3px -4px; }

.edit-post-meta-boxes-area__clear {
clear: both; }
Expand Down Expand Up @@ -864,7 +872,7 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
.editor-post-author__select {
margin: -5px 0;
width: 100%; }
@supports ((position: -webkit-sticky) or (position: sticky)) {
@supports (position: sticky) {
.editor-post-author__select {
width: auto; } }

Expand Down Expand Up @@ -937,7 +945,6 @@ body.is-fullscreen-mode .edit-post-layout__content .components-editor-notices__s
padding-left: 0;
padding-right: 4px;
border-top: 0;
position: -webkit-sticky;
position: sticky;
z-index: -1;
top: 0; }
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-post/style.min.css

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions wp-includes/css/dist/editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
padding: 1px 0; }

.components-editor-notices__dismissible {
position: -webkit-sticky;
position: sticky;
top: 56px;
left: 0;
Expand Down Expand Up @@ -379,8 +378,6 @@
display: block;
position: absolute;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/editor/style-rtl.min.css

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions wp-includes/css/dist/editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@
padding: 1px 0; }

.components-editor-notices__dismissible {
position: -webkit-sticky;
position: sticky;
top: 56px;
right: 0;
Expand Down Expand Up @@ -381,8 +380,6 @@
display: block;
position: absolute;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/editor/style.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5bb6344

Please sign in to comment.