Hacker News new | ask | show | jobs
by sime 3772 days ago
The docs discuss lists and reference Facebook Notes which uses Draft. The demo doesn't support the nested lists but Notes does. I've tried it out and it supports tab and shift-tab. The only limitation seems to be that you can't select multiple items and indent them together - it has to be one at a time. I'm unsure if that's a limitation of Draft though.
1 comments

The default behavior for tab is defined here:

https://github.com/facebook/draft-js/blob/f5e6cf50558f5797b0...

It would be easy to override it in your own component or send a PR upstream to make it adjust multiple blocks at once.