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

Enable marks overlap #2

Merged
merged 3 commits into from
Jun 17, 2022
Merged

Enable marks overlap #2

merged 3 commits into from
Jun 17, 2022

Conversation

IdrissMahjoubi
Copy link

@IdrissMahjoubi IdrissMahjoubi commented Jun 17, 2022

In Collab editing SyncPlugin does not allow for overlapping marks with the same type and different attributes (like prosemirror does).

This PR allows for overlapping marks to be shared via SyncPlugin.

This PR is a copy of https://github.com/YousefED/y-prosemirror/tree/overlapping-marks (can't merge it directly for version compatibility reasons).

Fixes: https://github.com/orgs/Collaborne/projects/14

Current missing parts"
yjs#52 (comment)

Idriss mahjoubi added 2 commits June 16, 2022 14:45
Copy link
Member

@ronnyroeller ronnyroeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (pls drop the commit to create the release from this PR: 39f1f48) This makes it easier to reapply the commit later on.

@IdrissMahjoubi
Copy link
Author

LGTM (pls drop the commit to create the release from this PR: 39f1f48) This makes it easier to reapply the commit later on.

Should I keep the version 1.2.2 ?

@ronnyroeller
Copy link
Member

Should I keep the version 1.2.2 ?

Since you already created 1.2.3-0 in npmjs -> Pick a higher version number. Otherwise you will have issues importing the new build.

@IdrissMahjoubi
Copy link
Author

@ronnyroeller check commits please? Does this look good?

@ronnyroeller
Copy link
Member

Just remove this line from the commit, and you are good to go for the PR: bdea062#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R3

@IdrissMahjoubi IdrissMahjoubi merged commit 8d75eb9 into master Jun 17, 2022
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.

2 participants