Hacker News new | ask | show | jobs
by andreasscherman 2708 days ago
Worth mentioning about prosemirror is that it supports mobile devices fantastically, which I don't think can be said about _any_ of it competitors. Realised that far too late after investing in Draft.js, but migrated now to prosemirror and it truly works great.

It does not contain a lot of helper functions (by choice), which can make it a bit difficult to get up and running if you're doing something non-standard.

2 comments

For Slate.js there's a PR to add Android support, looks like this is very hard to do well: https://github.com/ianstormtaylor/slate/issues/2062
Hello, I’m the individual submitting the PR. It is a hard nut to crack for sure and took over a solid month of work.

If you are using React, Slate is IMO an excellent choice and the code quality/extensibility/community are great. I really appreciate DraftJS for coming out first and I contributed there as well, but Slate’s goals are overall better aligned to the needs of the community.

Having used Draft and Slate, Slate is definitely the choice to go with today if you want something built on top of React.

Draft appears to be essentially somewhat unmaintained, whereas the Slate community has continued to be very active (thanks for the Android support! That's one reason we ended up using Quill for now)

The built-in copy-paste handling is pretty messy to extend compared to Slate, where the system of normalizers works a lot better.

Quill JS also supports Android and mobile very well (https://quilljs.com/)
Quill doesn't support modern standards like web components. But prosemirror works fine as far as I can tell.