You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a UPDATE_BLOCKS_WITH_UNDO is triggered and isTriggeredByYDoc is present the selection isn't passed. This has the effect of resetting the selection status in the editor undo history, and when you travel to the point the focus is removed from the editor.
To reproduce:
Start storybook 'with on load'
Click on the end of the first line, press enter, and type a letter (a)
Press undo
Press undo. Focus has now been lost
Looking at the store actions. The selection is passed here:
However it isn't here:
I'm not sure why the number of blocks would be so different either
The text was updated successfully, but these errors were encountered:
When a
UPDATE_BLOCKS_WITH_UNDO
is triggered andisTriggeredByYDoc
is present theselection
isn't passed. This has the effect of resetting the selection status in the editor undo history, and when you travel to the point the focus is removed from the editor.To reproduce:
a
)Looking at the store actions. The
selection
is passed here:However it isn't here:
I'm not sure why the number of blocks would be so different either
The text was updated successfully, but these errors were encountered: