1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-19 13:41:19 +02:00

Fix default focus styles (#5422)

* Fix default outline styles

Resolves #5146

* Add changeset

---------

Co-authored-by: Alexander Chudesnov <achudesnov@medallia.com>
This commit is contained in:
Alexander Chudesnov
2023-05-26 16:52:41 +02:00
committed by GitHub
parent 869d1240d3
commit 0b1799091a
2 changed files with 5 additions and 2 deletions

View File

@@ -903,8 +903,6 @@ export const Editable = (props: EditableProps) => {
: {
// Allow positioning relative to the editable element.
position: 'relative',
// Prevent the default outline styles.
outline: 'none',
// Preserve adjacent whitespace and new lines.
whiteSpace: 'pre-wrap',
// Allow words to break if they are too long.