Skip to content

Commit

Permalink
Editor: Update packages to apply bugfixes from Gutenberg 5.5.
Browse files Browse the repository at this point in the history
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]
- @wordpress/[email protected]

Props iseulde, kjellr, aduth, get_dave, talldanwp, jorgefilipecosta, afercia, nosolosw, jasmussen, netweb .

See WordPress/gutenberg#14987 .
See WordPress/gutenberg#15020 .
Fixes #46951 .

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


git-svn-id: https://core.svn.wordpress.org/trunk@45064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
aduth committed Apr 22, 2019
1 parent 26c09de commit fa9bc6b
Show file tree
Hide file tree
Showing 60 changed files with 936 additions and 464 deletions.
42 changes: 28 additions & 14 deletions wp-includes/css/dist/block-editor/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -368,29 +368,37 @@
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] {
clear: both;
z-index: 20; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
top: -44px;
bottom: auto;
min-height: 0;
height: auto;
width: auto;
z-index: inherit; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover::before {
width: auto; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before {
content: none; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover .block-editor-block-mover__control {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control {
float: right; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__breadcrumb {
left: -1px; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
display: none; }
@media (min-width: 1280px) {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
display: block; } }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar {
display: inline-flex; } }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
right: -13px; }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb {
Expand All @@ -417,7 +425,8 @@
border-right-width: 0;
border-left-width: 0; }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
right: 1px; }

.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] {
Expand Down Expand Up @@ -582,13 +591,14 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
right: 0;
left: 0;
justify-content: center;
height: 22px;
opacity: 0;
transition: opacity 0.1s linear; }
@media (min-width: 480px) {
.block-editor-block-list__insertion-point-inserter {
display: flex; } }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle {
margin-top: -4px;
margin-top: -8px;
border-radius: 50%;
color: #007cba;
background: #fff;
Expand Down Expand Up @@ -701,7 +711,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
right: 0;
left: 0; }

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

@media (min-width: 600px) {
Expand Down Expand Up @@ -1371,6 +1381,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,
.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle {
margin-left: 0; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
box-shadow: none; }

.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
Expand Down Expand Up @@ -1728,7 +1742,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-rich-text__editable {
margin: 0;
position: relative;
white-space: pre-wrap; }
white-space: pre-wrap !important; }
.block-editor-rich-text__editable > p:first-child {
margin-top: 0; }
.block-editor-rich-text__editable a {
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.

42 changes: 28 additions & 14 deletions wp-includes/css/dist/block-editor/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -376,29 +376,37 @@
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"], .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] {
clear: both;
z-index: 20; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
top: -44px;
bottom: auto;
min-height: 0;
height: auto;
width: auto;
z-index: inherit; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover::before {
width: auto; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover::before,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover::before,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover::before {
content: none; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover .block-editor-block-mover__control {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover .block-editor-block-mover__control,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover .block-editor-block-mover__control {
float: left; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__breadcrumb, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__breadcrumb {
right: -1px; }
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
display: none; }
@media (min-width: 1280px) {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
display: block; } }
@media (min-width: 600px) {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] .block-editor-block-toolbar, .block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] .block-editor-block-toolbar {
display: inline-flex; } }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="wide"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
left: -13px; }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-list__breadcrumb {
Expand All @@ -425,7 +433,8 @@
border-left-width: 0;
border-right-width: 0; }

.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-mover {
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"].is-multi-selected > .block-editor-block-mover,
.block-editor-block-list__layout .block-editor-block-list__block[data-align="full"] > .block-editor-block-list__block-edit > .block-editor-block-mover {
left: 1px; }

.block-editor-block-list__layout .block-editor-block-list__block[data-clear="true"] {
Expand Down Expand Up @@ -590,13 +599,14 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
left: 0;
right: 0;
justify-content: center;
height: 22px;
opacity: 0;
transition: opacity 0.1s linear; }
@media (min-width: 480px) {
.block-editor-block-list__insertion-point-inserter {
display: flex; } }
.block-editor-block-list__insertion-point-inserter .block-editor-inserter__toggle {
margin-top: -4px;
margin-top: -8px;
border-radius: 50%;
color: #007cba;
background: #fff;
Expand Down Expand Up @@ -711,7 +721,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
left: 0;
right: 0; }

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

@media (min-width: 600px) {
Expand Down Expand Up @@ -1383,6 +1393,10 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle,
.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle {
margin-right: 0; }
.block-editor-block-list__empty-block-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
.block-editor-default-block-appender .block-editor-inserter .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover,
.block-editor-inserter-with-shortcuts .block-editor-inserter__toggle:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover {
box-shadow: none; }

.block-editor-block-list__empty-block-inserter,
.block-editor-default-block-appender .block-editor-inserter {
Expand Down Expand Up @@ -1740,7 +1754,7 @@ body.admin-color-light .block-editor-block-list__insertion-point-indicator{
.block-editor-rich-text__editable {
margin: 0;
position: relative;
white-space: pre-wrap; }
white-space: pre-wrap !important; }
.block-editor-rich-text__editable > p:first-child {
margin-top: 0; }
.block-editor-rich-text__editable a {
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/css/dist/block-editor/style.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit fa9bc6b

Please sign in to comment.