Skip to content

Question about style conflicts #30

@gaborsar

Description

@gaborsar

If it is not a big problem, I would have a small question about the CRDT of the editor: How did you solve attribute update conflicts?

Scenario:

  1. User A and user B both offline.
  2. User A makes atom X bold.
  3. User B makes atom X bold.
  4. User B makes atom X non-bold.
  5. User A and user B both go online.
  6. User A have to following operations for atom X: (bold) + (bold + not-bold) => (not-bold)
  7. User B have to following operations for atom X: (bold + not-bold) + (bold) => (bold)
  8. User A and user B have a different version of atom X after they have received every operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions