3 ms·
> Not sure what all you are trying to do I work on non-anemic Notion and built the current @-mention menu and overhauled the text editor system to enable cross
by jitl 3y ago
> Not sure what all you are trying to do
I work on non-anemic Notion and built the current @-mention menu and overhauled the text editor system to enable cross-block text selection.
The criteria I use to evaluate a rich text editor component are:
- How does collaboration work? Does the framework give me enough for OT or CRDT bindings?
- Does it use a tree-like data structure or do you need to add this later?
- Can you easily build interactions like @-mention menu or tab completion like VS Code?
- Does the editor tolerate concurrent state updates without breaking Input Method Editor composition, ie a remote user comments on text while the current user is inputting a Chinese character?
- Do demos of the above features work on Android? In Chinese?
From reading the Pell source I didn’t see much that would help with my criteria.
- catapart 3y agoYou seem a little confused by my initial comment. What you seem to be saying, here, is that pell.js isn't a good rich text editor. What I said was that pell can be used to write a good rich text editor. If I were building a rich text editor, why would I want my input mechanism to build my tree or replicatable data bindings for me? And it's not like pell stands in the way of those things. It's a glorified text type input. I'm just going to chalk this one up to a misunderstanding and hope you have a good day!