Open Lexical Playground in Chrome and add an @-mention
Copy some any text to your clipboard
Create a selection that starts at the beginning of the @-mention (it can end within, at the end or after the mention)
Now paste from clipboard
The current behavior
In most cases this crashes Chrome, in rare cases it only takes very long and produces a warning [Violation] 'paste' handler took 95275ms. This affects up-to-date Chrome on macOS and Windows. Safari on macOS is not affected.
In a case where Chrome wasn't entirely crashing I was able to take this performance trace (sorry, I only took a screenshot instead of exporting the trace)
Lexical version: 0.14.5
Steps To Reproduce
The current behavior
In most cases this crashes Chrome, in rare cases it only takes very long and produces a warning
[Violation] 'paste' handler took 95275ms
. This affects up-to-date Chrome on macOS and Windows. Safari on macOS is not affected.In a case where Chrome wasn't entirely crashing I was able to take this performance trace (sorry, I only took a screenshot instead of exporting the trace)