Tom Moor
6e6eaf6b69
fix: Guard node view positions after the view is destroyed ( #13983 )
...
* 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
2026-10-07 09:09:16 -04:00
..
2026-10-07 09:09:16 -04:00
2025-12-19 23:07:02 -05:00
2025-12-19 23:07:02 -05:00
2026-06-13 13:37:49 -04:00
2026-06-13 13:37:49 -04:00
2026-09-16 21:45:20 -04:00
2026-06-13 13:37:49 -04:00
2025-12-19 23:07:02 -05:00
2026-09-20 13:46:58 -04:00
2026-09-16 20:38:26 -04:00
2026-10-07 09:09:16 -04:00
2026-08-08 13:39:24 -04:00
2026-06-06 07:24:16 -04:00
2026-08-19 16:56:11 -04:00
2026-05-27 20:28:17 -04:00
2026-08-14 17:56:05 -04:00
2026-10-07 09:09:16 -04:00
2026-08-22 09:44:42 -04:00
2026-06-11 21:50:47 -04:00
2025-12-19 23:07:02 -05:00
2026-06-18 18:21:50 -04:00
2026-08-27 17:42:28 -04:00
2026-10-07 09:09:16 -04:00
2026-05-02 18:54:27 -04:00
2026-09-13 15:42:34 -04:00
2026-08-19 08:06:48 -04:00
2026-06-06 07:24:16 -04:00
2026-05-02 18:54:27 -04:00
2026-10-07 09:09:16 -04:00
2026-09-27 13:10:43 -04:00
2026-09-16 21:45:20 -04:00
2026-09-27 13:10:43 -04:00
2026-09-27 13:10:43 -04:00
2026-08-15 17:07:28 -04:00
2025-12-19 23:07:02 -05:00
2026-09-16 20:44:03 -04:00
2026-09-06 00:45:30 -04:00
2026-10-07 09:09:16 -04:00