mirror of
https://github.com/outline/outline.git
synced 2026-12-01 17:32:49 +03:00
Focusing the editor can flush pending DOM changes, so the selection captured before the focus call may no longer point at the current document. Only restore it when the document is unchanged. Fixes OUTLINE-CLOUD-CP6