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 trying to rebase three sets of steps (initial, fork1 which adds at the end, fork2 which replaces at the beginning), rebasing drops content from fork2, instead of combining those steps together.
I would expect the output to be text Test. and not test. which I get when running the script above. So only appending . is preserved, but the change at the beginning from t to T is not. If I instrument rebaseSteps function and add some prints to the console, I can see that the step to convert t to T is not mapped (mapped is null).
ProseMirror version
"prosemirror-collab": "~1.1.1",
The text was updated successfully, but these errors were encountered:
@mitar I've tried the code in your first post and it still produces test., which makes sense given that the dependencies haven't changed since. Just randomly stumbled across this issue and was wondering if you've figured it in the mean time?
Issue details
When trying to rebase three sets of steps (initial, fork1 which adds at the end, fork2 which replaces at the beginning), rebasing drops content from fork2, instead of combining those steps together.
Steps to reproduce
I would expect the output to be text
Test.
and nottest.
which I get when running the script above. So only appending.
is preserved, but the change at the beginning fromt
toT
is not. If I instrumentrebaseSteps
function and add some prints to the console, I can see that the step to convertt
toT
is not mapped (mapped
isnull
).ProseMirror version
The text was updated successfully, but these errors were encountered: