PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
← All changes | build/styles/block-editor/content-rtl.css +70 -56 23.0.1 → 24.1.0 View file →
@@ -67,8 +67,14 @@
67 67 /**
68 68 * Focus styles.
69 69 */
70 70 /**
71 + * Standard focus rings for the WordPress Design System.
72 + *
73 + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74 + * e.g. `&:focus { @include outset-ring__focus(); }`.
75 + */
76 +/**
71 77 * Applies editor left position to the selector passed as argument
72 78 */
73 79 /**
74 80 * Styles that are reused verbatim in a few places
@@ -115,13 +121,8 @@
115 121 }
116 122 .block-editor-block-icon.has-colors svg {
117 123 fill: currentColor;
118 124 }
119 -@media (forced-colors: active) {
120 - .block-editor-block-icon.has-colors svg {
121 - fill: CanvasText;
122 - }
123 -}
124 125 .block-editor-block-icon svg {
125 126 min-width: 20px;
126 127 min-height: 20px;
127 128 max-width: 24px;
@@ -181,13 +182,17 @@
181 182 outline-color: transparent;
182 183 }
183 184 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted,
184 185 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected,
186 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected),
187 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected),
185 188 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus {
186 189 outline: none;
187 190 }
188 191 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted::after,
189 192 .block-editor-block-list__layout .block-editor-block-list__block.is-highlighted ~ .is-multi-selected::after,
193 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[draggable=true]:not(.is-multi-selected)::after,
194 +.block-editor-block-list__layout .block-editor-block-list__block.is-hovered-draggable[data-draggable=true]:not(.is-multi-selected)::after,
190 195 .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable=true]):focus::after {
191 196 content: "";
192 197 position: absolute;
193 198 pointer-events: none;
@@ -235,11 +240,8 @@
235 240 }
236 241 .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.is-selected, .block-editor-block-list__layout .block-editor-block-list__block.has-negative-margin.has-child-selected {
237 242 z-index: 20;
238 243 }
239 -.block-editor-block-list__layout .block-editor-block-list__block .reusable-block-edit-panel * {
240 - z-index: 1;
241 -}
242 244 .block-editor-block-list__layout .block-editor-block-list__block {
243 245 /**
244 246 * Notices
245 247 */
@@ -250,11 +252,8 @@
250 252 .block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui {
251 253 margin: 0 0 12px 0;
252 254 width: 100%;
253 255 }
254 -.block-editor-block-list__layout .block-editor-block-list__block .components-with-notices-ui .components-notice .components-notice__content {
255 - font-size: 13px;
256 -}
257 256 .block-editor-block-list__layout .block-editor-block-list__block.has-warning {
258 257 min-height: 48px;
259 258 }
260 259 .block-editor-block-list__layout .block-editor-block-list__block.has-warning > * {
@@ -367,9 +366,9 @@
367 366 .wp-block[data-align=left] > *,
368 367 .wp-block[data-align=right] > *,
369 368 .wp-block.alignleft,
370 369 .wp-block.alignright {
371 - z-index: 21;
370 + z-index: 9;
372 371 }
373 372
374 373 .wp-site-blocks > [data-align=left] {
375 374 float: right;
@@ -410,16 +409,8 @@
410 409 animation-fill-mode: forwards;
411 410 }
412 411 }
413 412
414 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender {
415 - display: none;
416 -}
417 -.block-editor-block-list__block:not(.is-selected):not(.has-child-selected) .block-editor-default-block-appender .block-editor-inserter__toggle {
418 - opacity: 0;
419 - transform: scale(0);
420 -}
421 -
422 413 .block-editor-block-list__block .block-editor-block-list__block-html-textarea {
423 414 display: block;
424 415 margin: 0;
425 416 padding: 12px;
@@ -429,9 +420,10 @@
429 420 border-radius: 2px;
430 421 box-sizing: border-box;
431 422 box-shadow: inset 0 0 0 1px #1e1e1e;
432 423 resize: none;
433 - overflow: hidden;
424 + field-sizing: content;
425 + overflow: auto;
434 426 font-family: Menlo, Consolas, monaco, monospace;
435 427 font-size: 15px;
436 428 line-height: 1.5;
437 429 direction: ltr;
@@ -461,11 +453,11 @@
461 453 align-items: center;
462 454 justify-content: center;
463 455 overflow: hidden;
464 456 font-size: 13px;
465 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
457 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
466 458 color: #000;
467 - font-weight: normal;
459 + font-weight: 400;
468 460 }
469 461 .is-zoomed-out .block-editor-block-list__zoom-out-separator {
470 462 font-size: calc(13px / var(--wp-block-editor-iframe-zoom-out-scale));
471 463 }
@@ -533,13 +525,8 @@
533 525 .block-editor-block-list__layout .is-dragging::after {
534 526 content: none !important;
535 527 }
536 528
537 -.wp-block img:not([draggable]),
538 -.wp-block svg:not([draggable]) {
539 - pointer-events: none;
540 -}
541 -
542 529 .block-editor-block-preview__content-iframe .block-list-appender {
543 530 display: none;
544 531 }
545 532
@@ -573,9 +560,10 @@
573 560 }
574 561 .block-editor-block-variation-picker__variations svg,
575 562 .block-editor-block-variation-picker__skip svg,
576 563 .wp-block-group-placeholder__variations svg {
577 - fill: #949494 !important;
564 + fill: #949494;
565 + color: #949494 !important;
578 566 }
579 567 .block-editor-block-variation-picker__variations .components-button,
580 568 .block-editor-block-variation-picker__skip .components-button,
581 569 .wp-block-group-placeholder__variations .components-button {
@@ -588,9 +576,10 @@
588 576 }
589 577 .block-editor-block-variation-picker__variations .components-button:hover svg,
590 578 .block-editor-block-variation-picker__skip .components-button:hover svg,
591 579 .wp-block-group-placeholder__variations .components-button:hover svg {
592 - fill: var(--wp-admin-theme-color) !important;
580 + fill: var(--wp-admin-theme-color);
581 + color: var(--wp-admin-theme-color) !important;
593 582 }
594 583 .block-editor-block-variation-picker__variations > li,
595 584 .block-editor-block-variation-picker__skip > li,
596 585 .wp-block-group-placeholder__variations > li {
@@ -608,29 +597,24 @@
608 597 justify-content: center;
609 598 width: 100%;
610 599 height: auto;
611 600 color: #1e1e1e;
612 - box-shadow: inset 0 0 0 1px #1e1e1e;
601 + border-color: currentColor;
613 602 }
614 603 .is-dark-theme .block-editor-button-block-appender {
615 604 color: rgba(255, 255, 255, 0.65);
616 - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
617 605 }
618 606 .block-editor-button-block-appender:hover {
619 607 color: var(--wp-admin-theme-color);
620 - box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
621 608 }
622 -.block-editor-button-block-appender:focus {
623 - box-shadow: inset 0 0 0 2px var(--wp-admin-theme-color);
624 -}
625 609 .block-editor-button-block-appender:active {
626 610 color: #000;
627 611 }
628 612
629 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child {
613 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender), .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) {
630 614 pointer-events: none;
631 615 }
632 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child::after {
616 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after {
633 617 content: "";
634 618 position: absolute;
635 619 top: 0;
636 620 left: 0;
@@ -638,30 +622,30 @@
638 622 right: 0;
639 623 pointer-events: none;
640 624 border: 1px dashed currentColor;
641 625 }
642 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
626 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter {
643 627 opacity: 0;
644 628 }
645 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within {
629 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender) .block-editor-inserter:focus-within {
646 630 opacity: 1;
647 631 }
648 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after {
632 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over::after {
649 633 border: none;
650 634 }
651 -.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over .block-editor-inserter {
652 - visibility: visible;
635 +.is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-inserter {
636 + opacity: 1;
653 637 }
654 -.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child::after {
638 +.block-editor-block-list__block:not(.is-selected) > .block-editor-block-list__block > .block-list-appender:only-child:has(.block-editor-button-block-appender)::after {
655 639 border: none;
656 640 }
657 -.block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
641 +.block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
658 642 background-color: var(--wp-admin-theme-color);
659 643 box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
660 644 color: rgba(255, 255, 255, 0.65);
661 645 }
662 646 @media not (prefers-reduced-motion) {
663 - .block-list-appender:only-child.is-drag-over .block-editor-button-block-appender {
647 + .block-list-appender:only-child:has(.block-editor-button-block-appender).is-drag-over .block-editor-button-block-appender {
664 648 transition: background-color 0.2s ease-in-out;
665 649 }
666 650 }
667 651
@@ -683,8 +667,9 @@
683 667 outline: 1px solid transparent;
684 668 }
685 669 .block-editor-default-block-appender .block-editor-default-block-appender__content {
686 670 opacity: 0.62;
671 + text-shadow: none;
687 672 margin-block-start: 0;
688 673 margin-block-end: 0;
689 674 }
690 675 .block-editor-default-block-appender .components-drop-zone__content-icon {
@@ -700,8 +685,16 @@
700 685 .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon:hover {
701 686 color: #fff;
702 687 background: var(--wp-admin-theme-color);
703 688 }
689 +@media not (prefers-reduced-motion) {
690 + .block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon svg {
691 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
692 + }
693 +}
694 +.block-editor-default-block-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg {
695 + transform: rotate(-45deg);
696 +}
704 697
705 698 .block-editor-default-block-appender .block-editor-inserter {
706 699 position: absolute;
707 700 top: 0;
@@ -748,8 +741,18 @@
748 741 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle:hover {
749 742 color: #fff;
750 743 background: var(--wp-admin-theme-color);
751 744 }
745 +@media not (prefers-reduced-motion) {
746 + .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon svg,
747 + .block-editor-block-list__block .block-list-appender .block-list-appender__toggle svg {
748 + transition: transform cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
749 + }
750 +}
751 +.block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon.is-pressed svg,
752 +.block-editor-block-list__block .block-list-appender .block-list-appender__toggle.is-pressed svg {
753 + transform: rotate(-45deg);
754 +}
752 755 .block-editor-block-list__block .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
753 756 .block-editor-block-list__block .block-list-appender .block-list-appender__toggle {
754 757 flex-direction: row;
755 758 box-shadow: none;
@@ -759,9 +762,9 @@
759 762 }
760 763 .block-editor-block-list__block .block-list-appender .block-editor-default-block-appender__content {
761 764 display: none;
762 765 }
763 -.block-editor-block-list__block .block-list-appender:only-child {
766 +.block-editor-block-list__block .block-list-appender:first-child {
764 767 position: relative;
765 768 left: auto;
766 769 align-self: center;
767 770 list-style: none;
@@ -766,9 +769,9 @@
766 769 align-self: center;
767 770 list-style: none;
768 771 line-height: inherit;
769 772 }
770 -.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content {
773 +.block-editor-block-list__block .block-list-appender:first-child .block-editor-default-block-appender__content {
771 774 display: block;
772 775 }
773 776
774 777 .block-editor-block-list__block.is-selected .block-editor-block-list__layout > .block-list-appender .block-editor-inserter__toggle.components-button.has-icon,
@@ -797,9 +800,9 @@
797 800 .block-editor-iframe__html.zoom-out-animation {
798 801 position: fixed;
799 802 right: 0;
800 803 left: 0;
801 - top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0));
804 + top: calc(-1 * var(--wp-block-editor-iframe-zoom-out-scroll-top, 0px));
802 805 bottom: 0;
803 806 overflow-y: var(--wp-block-editor-iframe-zoom-out-overflow-behavior, scroll);
804 807 }
805 808 .block-editor-iframe__html.is-zoomed-out {
@@ -805,14 +808,14 @@
805 808 .block-editor-iframe__html.is-zoomed-out {
806 809 transform: translateX(calc(-1*((var(--wp-block-editor-iframe-zoom-out-scale-container-width) - var(--wp-block-editor-iframe-zoom-out-container-width, 100vw)) / 2 / var(--wp-block-editor-iframe-zoom-out-scale, 1))));
807 810 scale: var(--wp-block-editor-iframe-zoom-out-scale, 1);
808 811 background-color: var(--wp-editor-canvas-background);
809 - margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
810 - padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
811 - padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
812 + margin-bottom: calc(-1 * calc(calc(var(--wp-block-editor-iframe-zoom-out-content-height) * (1 - var(--wp-block-editor-iframe-zoom-out-scale, 1))) + calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1)) + 2px));
813 + padding-top: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
814 + padding-bottom: calc(var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
812 815 }
813 816 .block-editor-iframe__html.is-zoomed-out body {
814 - min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
817 + min-height: calc((var(--wp-block-editor-iframe-zoom-out-inner-height) - calc(2 * var(--wp-block-editor-iframe-zoom-out-frame-size, 0px) / var(--wp-block-editor-iframe-zoom-out-scale, 1))) / var(--wp-block-editor-iframe-zoom-out-scale, 1));
815 818 }
816 819 .block-editor-iframe__html.is-zoomed-out body > .is-root-container:not(.wp-block-post-content) {
817 820 flex: 1;
818 821 display: flex;
@@ -834,9 +837,9 @@
834 837 .block-editor-media-placeholder.is-appender {
835 838 min-height: 0;
836 839 }
837 840 .block-editor-media-placeholder.is-appender:hover {
838 - cursor: pointer;
841 + cursor: var(--wpds-cursor-control, pointer);
839 842 box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
840 843 }
841 844
842 845 .block-editor-plain-text {
@@ -847,9 +850,13 @@
847 850 line-height: inherit;
848 851 border: none;
849 852 padding: 0;
850 853 margin: 0;
854 +}
855 +
856 +.block-editor-plain-text {
851 857 width: 100%;
858 + field-sizing: content;
852 859 }
853 860
854 861 .rich-text [data-rich-text-placeholder] {
855 862 pointer-events: none;
@@ -856,8 +863,9 @@
856 863 }
857 864 .rich-text [data-rich-text-placeholder]::after {
858 865 content: attr(data-rich-text-placeholder);
859 866 opacity: 0.62;
867 + text-shadow: none;
860 868 }
861 869 .rich-text:focus {
862 870 outline: none;
863 871 }
@@ -891,13 +899,19 @@
891 899 .rich-text [contenteditable=false]::selection {
892 900 background-color: transparent;
893 901 }
894 902
903 +.is-selected .non-breaking-space {
904 + outline: 1px solid currentColor;
905 + outline-offset: -1px;
906 + opacity: 0.8;
907 +}
908 +
895 909 .block-editor-warning {
896 910 align-items: center;
897 911 display: flex;
898 912 flex-wrap: wrap;
899 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
913 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
900 914 padding: 1em;
901 915 border: 1px solid #1e1e1e;
902 916 border-radius: 2px;
903 917 background-color: #fff;
@@ -903,9 +917,9 @@
903 917 background-color: #fff;
904 918 }
905 919 .block-editor-warning .block-editor-warning__message {
906 920 line-height: 1.4;
907 - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
921 + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
908 922 font-size: 13px;
909 923 color: #1e1e1e;
910 924 margin: 0;
911 925 }