Can teletype-crdt work with other wysiwyg editor ?
YingshanDeng opened this issue · 5 comments
Hello! I am interested in this repo. It's great. And Can teletype-crdt work with other wysiwyg editor, like CKEditor? I want to apply teletype-crdt to wysiwyg editors, so that they can collaborative editing. Can you give me some advice? Thank u 😊
Probably not. This CRDT is for text. A wysiwyg editor’s underlying model isn’t text, it’s a tree (with nodes and properties to represent rich text).
@aslakhellesoy Ok. So I can only apply teletype-crdt to a plain text editor? I really want to use teletype-crdt to make a demo about collaborative editing. Can you give me some tips or something about teletyp-crdt applying to atom? Thank u 😊
@as-cii: When you have a moment, would you mind sharing your thoughts on this issue?
Hello @YingshanDeng! Like @aslakhellesoy explained, teletype-crdt is a CRDT that exposes APIs that work only with plain text and markers. A WYSIWYG editor has a more complex structure than just text, so you will need to enhance it in such a way that can support your use case.
I am going to close this for now, as we are not interested in providing such support in the library at this time. Thanks for the feedback!