mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-15 19:54:02 +02:00
Fix Firefox IME bug caused by placeholder (#5881)
This commit is contained in:
5
.changeset/mean-carpets-tap.md
Normal file
5
.changeset/mean-carpets-tap.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'slate-react': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix IME issues in Firefox caused by placeholder
|
@@ -144,8 +144,8 @@ const Leaf = (props: {
|
|||||||
|
|
||||||
children = (
|
children = (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
{renderPlaceholder(placeholderProps)}
|
|
||||||
{children}
|
{children}
|
||||||
|
{renderPlaceholder(placeholderProps)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user