mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-03-14 18:29:43 +01:00
* Revert "Do NOT use exact match when updating dom selection" The change to `exactMatch: false` in https://github.com/ianstormtaylor/slate/pull/4304 was intended to fix https://github.com/ianstormtaylor/slate/issues/4293, a bug where "backwards typing" happened in nested editors. But this change has introduced at least two new bugs: - https://github.com/ianstormtaylor/slate/issues/4601 - https://github.com/ianstormtaylor/slate/issues/4626 These are (IMO) worse than the original "backwards typing" bug. From discussion in https://github.com/ianstormtaylor/slate/pull/4304, the true underlying bug is in ReactEditor.toSlateRange. I'll attempt to fix this underlying bug instead. * changeset
80 B
80 B
slate-react |
---|
patch |
Fixed issues where cursor jumps to wrong location