discourse/plugins/discourse-shared-edits/public/javascripts/yjs-wrapper.js
Sam Saffron 15ff85e674
FEATURE: make shared edits work with prosemirror and make it a core plugin
This work in progress PR moves shared edits into core and uses a yjs backend for it.

This gives stuff such as multi cursor support etc.
2025-10-04 17:04:13 +02:00

7 lines
173 B
JavaScript
Vendored

/**
* YJS Wrapper for Discourse
* This file wraps the YJS module and exposes it as window.Y for use in Discourse plugins
*/
import * as Y from './yjs.js';
window.Y = Y;