Do you mind expanding on this? I've been comparing the two and found the lexical data model easier to understand.
* I did not like that it was an alternative to a different Facebook rich text editor (draft.js)
* Very React focused (makes sense, it's a Facebook/Meta project) - even applying concepts. Here's an excerpt from their site: "If you've used React Hooks before, you can think of $ functions as being something that follows a similar pattern. These are functions that show their intent as to where they can or cannot be used."
I don't want to use React Hooks or things designed to be like React Hooks.
* Newer and less features/polished. Looking at their official project site, there's way less features already available. That means more custom code you have to write.
* No standard schema/for formatting rich content
I see that as an issue with React though, not TipTap. It’s a great editor and I love that it’s headless.
The only issue I have encountered with it that I haven't solved yet (I think there are multiple potential paths) is validating/sanitizing data with it.
To parse the content and turn it into raw text requires instantiating TipTap and all the attendant plugins. So even if I want to do a server side check for something like minimum character count, I have to 'decode' the JSON etc...
I know it's not the focus, but something that makes that easier would be nice. And something I could easily add to a Schema checker like Joi or Zod.