Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to receiveTransactions to map selections backward #9

Closed
wants to merge 1 commit into from

Conversation

marijnh
Copy link
Member

@marijnh marijnh commented Aug 13, 2018

Allow text selections to be mapped backward through remote changes in the collab module's receiveTransaction function.

Rendered RFC

marijnh added a commit to ProseMirror/prosemirror-collab that referenced this pull request Aug 21, 2018
FEATURE: [`receiveTransaction`](##collab.receiveTransaction) now
supports a `mapSelectionBackward` option that makes it so that text
selections are mapped to stay in place when remote changes insert
content at their position.

Issue ProseMirror/rfcs#9
@marijnh
Copy link
Member Author

marijnh commented Aug 21, 2018

This has been implemented in attached patch.

@marijnh marijnh closed this Aug 21, 2018
@adrianheine adrianheine deleted the collab-receive-map-backward branch October 8, 2018 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant