mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 12:30:11 +02:00
Overrode Mark Styles in Placeholder (#3703)
* disabled user select on placeholder * fixed css property value without quotes * overrode mark styles in placeholder Co-authored-by: Cameron Ackerman <cameron_ackerman@selinc.com>
This commit is contained in:
@@ -42,6 +42,9 @@ const Leaf = (props: {
|
|||||||
whiteSpace: 'nowrap',
|
whiteSpace: 'nowrap',
|
||||||
opacity: '0.333',
|
opacity: '0.333',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
|
fontStyle: 'normal',
|
||||||
|
fontWeight: 'normal',
|
||||||
|
textDecoration: 'none',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{leaf.placeholder as React.ReactNode}
|
{leaf.placeholder as React.ReactNode}
|
||||||
|
Reference in New Issue
Block a user