mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 19:54:02 +02:00
disabled user select on placeholder (#3701)
* disabled user select on placeholder * fixed css property value without quotes
This commit is contained in:
@@ -41,6 +41,7 @@ const Leaf = (props: {
|
|||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
opacity: '0.333',
|
opacity: '0.333',
|
||||||
|
userSelect: 'none',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{leaf.placeholder as React.ReactNode}
|
{leaf.placeholder as React.ReactNode}
|
||||||
|
Reference in New Issue
Block a user