Skip to content

Commit

Permalink
[#55040] fix rebase with comment selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Trzcin committed Jul 30, 2024
1 parent e6ebce1 commit 46b0abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CodeMirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const CodeMirror = ({ text, id, name, mode, spellcheckOpts, highlights, collabor
})
.useComments({ enabled: collaboration.opts.commentsEnabled, ycomments: collaboration.ycomments })
.addUpdateListener((update) => update.docChanged && text.set(view.state.doc.toString()))
.useRemoveSelectionOnBlur(ytext, provider)
.useRemoveSelectionOnBlur(collaboration.ytext, collaboration.provider)
.create(),
});

Expand Down

0 comments on commit 46b0abb

Please sign in to comment.