Skip to content

change in CodeMirror API #7

@sirearsh

Description

@sirearsh

Hello sir its been 4 years since you wrote this and here i am using your code. thanks

well there has been a little change in codemirror api, path to content is now ShareDB.data.content
i think when you wrote it must have been ShareDB.data only.

change line 7 in index.js
this.path = path || [];
to
this.path = path || ['content'];
did the trick for me.

sorry i am new to all this i don't know how to put a proper pull requrest for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions