mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-19 06:18:16 +01: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:
parent
4e7327d238
commit
44675c2080
@ -42,6 +42,9 @@ const Leaf = (props: {
|
||||
whiteSpace: 'nowrap',
|
||||
opacity: '0.333',
|
||||
userSelect: 'none',
|
||||
fontStyle: 'normal',
|
||||
fontWeight: 'normal',
|
||||
textDecoration: 'none',
|
||||
}}
|
||||
>
|
||||
{leaf.placeholder as React.ReactNode}
|
||||
|
Loading…
x
Reference in New Issue
Block a user