How to create binding for TinyMCE?

I see that there exists already bindings for multiple WYSIWYG editors but TinyMCE doesn’t yet have binding.

What kind of events the TinyMCE would be able to emit for implementing collaboration with Yjs with good performance? For example, it has events for any change to the content and any change to caret position or selection. Is that enough? Would the TinyMCE need to be able to compute change deltas or is it okay to just have the final content and caret position / selection after whatever change TinyMCE has internally made?

How about undo/redo? Should Yjs binding override the native redo/undo feature of TinyMCE?

1 Like

I’m looking into this as well now. Are there any updates?