From d5b06563e8acb3f4597731fe3faa4b860fb62a26 Mon Sep 17 00:00:00 2001 From: James Koster Date: Wed, 4 May 2022 11:19:33 +0100 Subject: [PATCH] Use default cursor for non-editable text blocks (#40785) --- .../block-editor/src/components/block-list/style.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index 6d8a21cd059a45..da02c6fd4b801d 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -262,12 +262,17 @@ right: $border-width; bottom: $border-width; box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color); - border-radius: $radius-block-ui - $border-width; // Border is outset, so subtract the width to achieve correct radius. + // Border is outset, so subtract the width to achieve correct radius. + border-radius: $radius-block-ui - $border-width; } } &.is-selected { - cursor: unset; + cursor: default; + + &.rich-text { + cursor: unset; + } &::after { box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); // Selected not focussed.