course-builder icon indicating copy to clipboard operation
course-builder copied to clipboard

feat: collaborative codemirror editor

Open joelhooks opened this issue 1 year ago โ€ข 1 comments

Describe the feature you'd like to request

We've set up the basics for the collaborative editor, but the results are mixed and kind of janky where the text sometimes doubles up and it doesn't feel right in terms of the syncing between the CMS (Sanity) and the Partykit connection.

Describe the solution you'd like to see

We'd also like to consider using Sanity's draft statuses and keeping the Partykit sync'd with that so in Sanity the piece would have a "publish" button at the same time the UI had the "save" active and the current draft state being sync'd would be consistent across screens and players.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR implementing this feature!

joelhooks avatar Jan 25 '24 17:01 joelhooks

@threepointone this is the vibe/polish i'm looking for https://github.com/inkandswitch/tiny-essay-editor

joelhooks avatar Jan 30 '24 21:01 joelhooks