diff --git a/packages/lexical/src/LexicalUtils.ts b/packages/lexical/src/LexicalUtils.ts index d74873ba5f2..7d6972f0abf 100644 --- a/packages/lexical/src/LexicalUtils.ts +++ b/packages/lexical/src/LexicalUtils.ts @@ -650,7 +650,8 @@ export function $updateTextNodeFromDOMContent( prevSelection.anchor.offset === 0) || (prevSelection.anchor.key === textNode.__key && prevSelection.anchor.offset === 0 && - !node.canInsertTextBefore()) || + !node.canInsertTextBefore() && + !isComposing) || (prevSelection.focus.key === textNode.__key && prevSelection.focus.offset === prevTextContentSize && !node.canInsertTextAfter())))