1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-27 17:09:53 +02:00

fix(slate-react): add top css to placeholder (#5423)

solves  #5386
This commit is contained in:
Horacio Herrera
2023-05-14 08:28:00 +02:00
committed by GitHub
parent 9a5119849b
commit 042bca167a
3 changed files with 10 additions and 11 deletions

View File

@@ -119,6 +119,7 @@ const Leaf = (props: {
'data-slate-placeholder': true,
style: {
position: 'absolute',
top: 0,
pointerEvents: 'none',
width: '100%',
maxWidth: '100%',