diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index aad1d5e012..a95281959e 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -139,6 +139,8 @@ export const TextInput = forwardRef(function TextInputImpl( mayBePaste, onNewLink, prevAddedLinks: prevAddedLinks.current, + endIndex: newRt.unicodeText.slice(0, facet.index.byteEnd) + .length, }) } }