revamp new version
I've talked to @sstur and I think we can do this improvements for the next version
- [ ] migrate to typescript
- [ ] use css in js solution (styled components)
- [ ] use hooks
- [ ] provide hooks api
How do you feel about splitting these up into separate issues so they can be worked on separately?
sure, feel free to open a new issue if you want to tackle any of this
I don't have time to help out right now, but if it's helpful, I've been looking at draft editors over the past few days and have found https://www.draft-js-plugins.com/ to be the easiest to implement (although the experience could be better and it could certainly do with an update itself.)
Just my .02, but I've found the @material-ui/styles styled components easier to use with TypeScript than styled-components. Other than that, they're both very similar.
Are you moving forward with revamp? Or is it postponed?
Postponed for the time being. I might revisit this when I need an editor in one of my projects again, but there are ongoing issues with draftjs and mobile, so it's likely the next version would be built on Slate or something similar. I don't know for sure at this point.