1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00
slate/packages
Kaspars Dancis d5834bb5b0 Prevent crash when handling composition of 2+ keypresses when selection is not collapsed (#2218)
https://github.com/ianstormtaylor/slate/issues/1879
When composition starts and the current selection is not collapsed, the
second composition key-down would drop the text wrapping <spans> which
resulted on crash in content.updateSelection after composition ends
(because it cannot find <span> nodes in DOM). This is a workaround that
erases selection as soon as composition starts and preventing <spans>
to be dropped.
2018-10-25 09:47:29 -07:00
..
2018-10-24 16:09:16 -07:00
2018-10-24 16:09:16 -07:00
2018-08-16 15:26:05 -07:00
2018-10-24 14:52:39 -07:00
2018-10-24 16:09:16 -07:00
2018-10-24 16:09:16 -07:00
2018-10-24 16:09:16 -07:00
2018-10-24 16:09:16 -07:00