Skip to content

Commit

Permalink
Try: Default cursor for Select Tool (#19157)
Browse files Browse the repository at this point in the history
The select tool doesn't let you select text. It's only until you click twice on the same block, press Enter, or select the Edit tool, that you edit text again. Therefore the text-beam cursor is inaccurate.

This PR changes that cursor to the default arrow cursor.
  • Loading branch information
jasmussen authored and Tammie Lister committed Dec 16, 2019
1 parent f4ba3d1 commit 768383f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,10 @@
}
}

// Select tool/navigation mode shows the default cursor until an additional click edits.
&.is-navigate-mode {
cursor: default;
}

// Alignments.
&[data-align="left"],
Expand Down

0 comments on commit 768383f

Please sign in to comment.