badass-courses / course-builder

๐Ÿ„ experimental platform for building Badass Courses
https://www.coursebuilder.dev
MIT License
357 stars 27 forks source link

feat: collaborative codemirror editor #54

Open joelhooks opened 9 months ago

joelhooks commented 9 months ago

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

joelhooks commented 9 months ago

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