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:
@@ -41,6 +41,7 @@ const Leaf = (props: {
|
||||
maxWidth: '100%',
|
||||
whiteSpace: 'nowrap',
|
||||
opacity: '0.333',
|
||||
userSelect: 'none',
|
||||
}}
|
||||
>
|
||||
{leaf.placeholder as React.ReactNode}
|
||||
|
Reference in New Issue
Block a user