Skip to content

Commit

Permalink
Block Editor: Update packages to bring a selection of bugfixes in.
Browse files Browse the repository at this point in the history
Props iseulde, kjellr, aduth, 0mirka00, mcsf, nosolosw, gziolo, jasmussen, talldanwp, notnownikki, swissspidy, jorgefilipecosta, noisysocks.
See WordPress/gutenberg#14796.
Fixes #46801.


Built from https://develop.svn.wordpress.org/trunk@45138


git-svn-id: https://core.svn.wordpress.org/trunk@44947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
pento committed Apr 8, 2019
1 parent 729add4 commit f9f4195
Show file tree
Hide file tree
Showing 30 changed files with 467 additions and 505 deletions.
16 changes: 5 additions & 11 deletions wp-includes/css/dist/block-editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-block-list__block .block-editor-block-contextual-toolbar > * {
pointer-events: auto; }

.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar {
right: 0;
left: 0; }

.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar {
margin-right: -28px; }

Expand Down Expand Up @@ -1741,17 +1745,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-rich-text__editable:focus {
outline: none; }
.block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
border-radius: 2px;
box-shadow: 0 0 0 1px #e8eaeb;
background: #e8eaeb;
color: #191e23; }
.block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: 0 0 0 1px #e5f5fa;
background: #e5f5fa;
color: #006589; }
.block-editor-rich-text__editable:focus code[data-rich-text-format-boundary] {
background: #e8eaeb;
box-shadow: 0 0 0 1px #e8eaeb; }
border-radius: 2px; }
.block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
position: absolute;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style-rtl.min.css

Large diffs are not rendered by default.

16 changes: 5 additions & 11 deletions wp-includes/css/dist/block-editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-block-list__block .block-editor-block-contextual-toolbar > * {
pointer-events: auto; }

.block-editor-block-list__block[data-align="full"] .block-editor-block-contextual-toolbar {
left: 0;
right: 0; }

.block-editor-block-list__block.is-focus-mode:not(.is-multi-selected) > .block-editor-block-contextual-toolbar {
margin-left: -28px; }

Expand Down Expand Up @@ -1753,17 +1757,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-rich-text__editable:focus {
outline: none; }
.block-editor-rich-text__editable:focus *[data-rich-text-format-boundary] {
border-radius: 2px;
box-shadow: 0 0 0 1px #e8eaeb;
background: #e8eaeb;
color: #191e23; }
.block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: 0 0 0 1px #e5f5fa;
background: #e5f5fa;
color: #006589; }
.block-editor-rich-text__editable:focus code[data-rich-text-format-boundary] {
background: #e8eaeb;
box-shadow: 0 0 0 1px #e8eaeb; }
border-radius: 2px; }
.block-editor-rich-text__editable[data-is-placeholder-visible="true"] {
position: absolute;
top: 0;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style.min.css

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions wp-includes/css/dist/block-library/editor-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,6 @@
:not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * {
pointer-events: all; }

.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],
.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: none;
background: rgba(255, 255, 255, 0.3); }

.wp-block-cover-image.components-placeholder h2,
.wp-block-cover.components-placeholder h2 {
color: inherit; }
Expand Down Expand Up @@ -690,9 +685,6 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .block-editor-rich-text figcaption a {
color: #fff; }

.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
color: rgba(0, 0, 0, 0.2); }

.block-library-gallery-item__inline-menu {
padding: 2px;
position: absolute;
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.

8 changes: 0 additions & 8 deletions wp-includes/css/dist/block-library/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,6 @@
:not(.components-disabled) > .wp-block-columns > .block-editor-inner-blocks > .block-editor-block-list__layout > [data-type="core/column"] > .block-editor-block-list__block-edit > * {
pointer-events: all; }

.wp-block-cover-image .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary],
.wp-block-cover .block-editor-rich-text__editable:focus a[data-rich-text-format-boundary] {
box-shadow: none;
background: rgba(255, 255, 255, 0.3); }

.wp-block-cover-image.components-placeholder h2,
.wp-block-cover.components-placeholder h2 {
color: inherit; }
Expand Down Expand Up @@ -695,9 +690,6 @@ body.admin-color-light .blocks-gallery-item img:focus, body.admin-color-light .b
.blocks-gallery-item .block-editor-rich-text figcaption a {
color: #fff; }

.blocks-gallery-item .block-editor-rich-text figcaption:focus a[data-rich-text-format-boundary] {
color: rgba(0, 0, 0, 0.2); }

.block-library-gallery-item__inline-menu {
padding: 2px;
position: absolute;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-library/editor.min.css

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions wp-includes/css/dist/edit-post/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -692,12 +692,9 @@ body.is-fullscreen-mode .edit-post-header {
z-index: -2; }
@media (min-width: 600px) {
.edit-post-sidebar > .components-panel {
overflow: inherit;
overflow: hidden;
height: auto;
max-height: none; } }
@media (min-width: 782px) {
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
max-height: calc(100vh - 50px); } }
.edit-post-sidebar > .components-panel .components-panel__header {
position: fixed;
z-index: 1;
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.

5 changes: 1 addition & 4 deletions wp-includes/css/dist/edit-post/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -692,12 +692,9 @@ body.is-fullscreen-mode .edit-post-header {
z-index: -2; }
@media (min-width: 600px) {
.edit-post-sidebar > .components-panel {
overflow: inherit;
overflow: hidden;
height: auto;
max-height: none; } }
@media (min-width: 782px) {
body.is-fullscreen-mode .edit-post-sidebar > .components-panel {
max-height: calc(100vh - 50px); } }
.edit-post-sidebar > .components-panel .components-panel__header {
position: fixed;
z-index: 1;
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/edit-post/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/js/dist/api-fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ var createPreloadingMiddleware = function createPreloadingMiddleware(preloadedDa

if (parse && 'GET' === method && preloadedData[path]) {
return Promise.resolve(preloadedData[path].body);
} else if ('OPTIONS' === method && preloadedData[method][path]) {
} else if ('OPTIONS' === method && preloadedData[method] && preloadedData[method][path]) {
return Promise.resolve(preloadedData[method][path]);
}
}
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/js/dist/api-fetch.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit f9f4195

Please sign in to comment.