in compositionend event handle:if has keydown during composition,but in last 100ms has no keydown,will ignore insert。
in beforeinput event handle:ignore Editor.deleteBackward and Transforms.select method call,when beforeinput timestamp is less then 100ms after last compositionend event。【when lost focus the beforeinput-deleteContentBackward has no meaning;event.getTargetRanges() is not accurate】
Description on windows,in chrome, using microsoft ime,when lost focus,the input content will be doubled
Recording
https://github.com/ianstormtaylor/slate/assets/41042044/576867c9-2179-4c69-8a06-b24670391259
Sandbox https://www.slatejs.org/examples/richtext
Steps
Expectation the input content not doubled
Environment
Context when lost focus while composition,chrome will produce two beforeinput event after compositionend event。