Skip to content

Commit

Permalink
docs(readme): document relevant Draft.js issues for list nesting styles
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed May 20, 2018
1 parent 38d7004 commit a5424d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ import { ListNestingStyles, blockDepthStyleFn } from 'draftjs-conductor';

`ListNestingStyles` will generate the necessary CSS for your editor’s lists. `blockDepthStyleFn` will then apply classes to blocks based on their depth, so the styles take effect. Voilà!

Relevant Draft.js issues:

* [maxDepth param is greater than 4 in RichUtils.onTab – facebook/draft-js#997](https://github.com/facebook/draft-js/issues/997)
* Still problematic: [Nested list styles above 4 levels are not retained when copy-pasting between Draft instances. – facebook/draft-js#1605 (comment)](https://github.com/facebook/draft-js/pull/1605#pullrequestreview-87340460)

## Contributing

See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our [contribution guidelines](.github/CONTRIBUTING.md).
Expand Down

0 comments on commit a5424d1

Please sign in to comment.