mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-17 13:38:37 +01:00
fix(mentions): correct spacer tag position to avoid IME input being interrupted Cannot input chinese directly after the mention in mention demo #3490 (#5013)
This commit is contained in:
parent
22308b3417
commit
2b294b30d7
@ -192,8 +192,7 @@ const Mention = ({ attributes, children, element }) => {
|
||||
boxShadow: selected && focused ? '0 0 0 2px #B4D5FF' : 'none',
|
||||
}}
|
||||
>
|
||||
@{element.character}
|
||||
{children}
|
||||
{children}@{element.character}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user