3 ms·
Also note some of the limitations with Lexical - e.g. you can't even drag and drop highlighted text within a block.
by Closi 3y ago
Also note some of the limitations with Lexical - e.g. you can't even drag and drop highlighted text within a block.
- jitl 3y agoLexical is not mature and I wouldn’t recommend it for a project yet. Draft.JS (Facebook’s previous ContentEditable framework) stagnated for a long time. Use ProseMirror/TipTap - much lower risk.
- KRAKRISMOTT 3y agoBut lexical provides so much more semantic data. You can build actual operational transforms while for prosemirror the quickest way for collab editing is almost always binding it to a third party CRDT like y.js (which while admittedly works, makes it somewhat hard to customize compared to op transforms).
- jitl 3y agoWell the 3rd party collaboration libraries for ProseMirror are all using Operation (Step) and transformation interfaces exposed by ProseMirror, right? Or do you mean to say those are too "black box" to build nicely on top of? https://prosemirror.net/docs/ref/#transform https://prosemirror.net/docs/ref/#transform https://prosemirror.net/docs/ref/#collab https://prosemirror.net/docs/ref/#collab