mirror of
https://github.com/outline/outline.git
synced 2026-11-23 06:11:04 +03:00
* fix: Guard node view positions after the view is destroyed ProseMirror returns undefined from getPos once a node view is destroyed, but ComponentProps typed it as always returning a number. Async handlers, such as the mention unfurl, could then call setNodeMarkup with an undefined position and throw a RangeError. Fixes OUTLINE-CLOUD-D9N * Remove excessive test