Hacker News new | ask | show | jobs
by Ronsenshi 3496 days ago
Looks very nice, thanks for the work.

I've been tinkering with Draft off and on for quite some time and I love how powerful it is, however documentation was rather lacking in some areas and this project would definitely help me understand some of the things about Draft.

Too bad there's still only a workaround for block styles (as in setting "style" prop on a whole block instead of using setBlockData method).

2 comments

Just in case you're interested, I ran into the same issues with Draft when using it myself—having to do lots of strange workarounds for what felt like normal levels of customization. I've been working on an alternative that aims to be much less opinionated and with a much cleaner API, called Slate:

https://github.com/ianstormtaylor/slate

I hope I would find more time, I wanna do more on DraftJS and its approach for content editing. Its very powerful approach.