Skip to content

Is there a way to compare if two change sets are equal? #19

@whawker

Description

@whawker

Hi, I'm working on a plugin that creates changesets.

I was wondering, is there any way to compare if two changesets are equal? (I'm thinking along the lines of the .eq() functions in ProseMirror model).

Basically, I was hoping to compare the plugins prevState with current state to determine whether to update decorations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions