Skip to content

How to implement Presence with 'rich-text' as 'json1' subtype? #675

Closed
@benjismith

Description

@benjismith

I'm using json1 as the primary type in my application, and I have rich-text objects nested within those records.

I'd like to implement the Presence API, but the ShareDB docs say that Currently, only rich-text supports presence information. There are no examples of creating a rich-text presence on a nested object. Is that a simple straightforward case, or more complicated?

I've been reading through the issue report for Issue #423: transformPresence is not a function so that I can better understand how the Presence API works, and thinking through possible solutions, but I thought I'd ask for advice here first. Do you have any suggestions? If there need to be any changes to the raw json1 type or to the ShareDB presence implementation, I'd be happy to work on it and contribute my code, if you're interested...

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