Patch Changes
-
#6250
b70a400Thanks @dylans! - Fix typing on Android right after toggling a mark with a collapsed selection. The first letter no longer moves the caret past the end of the previous leaf, which closed the soft keyboard and scattered the following letters, and a composition into the new marked text is no longer interrupted by a re-render. -
#6248
f9b0cbfThanks @dylans! - Fix an Android crash ("Failed to execute 'removeChild' on 'Node'") when typing starts in an empty editor just as the placeholder appears. The DOM restore that runs before Android renders no longer undoes React's own placeholder changes. -
#6243
56aa3c4Thanks @dylans! - Remove the source void when it is dragged to a new position, preventing duplicate voids when the dragged selection is collapsed. -
#6249
d879fc1Thanks @dylans! - Fix composed text appearing twice in Chrome when the caret sits at the start of a leaf that follows marked text. Chrome composes into the end of the previous leaf, so its copy is removed before Slate inserts the text into the selected leaf. -
#6251
927c228Thanks @dylans! - Remove text an IME composes into a selected void element. Slate doesn't insert text into voids, so the browser's copy was left in the void's DOM.