1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-15 03:33:59 +02:00

disabled user select on placeholder (#3701)

* disabled user select on placeholder

* fixed css property value without quotes
This commit is contained in:
anatolzak
2020-05-27 18:46:02 +03:00
committed by GitHub
parent 26fbc1dc41
commit 20d7dd41b7

View File

@@ -41,6 +41,7 @@ const Leaf = (props: {
maxWidth: '100%',
whiteSpace: 'nowrap',
opacity: '0.333',
userSelect: 'none',
}}
>
{leaf.placeholder as React.ReactNode}