Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add different numeral list styles per depth level #283

Merged
merged 2 commits into from
Apr 13, 2021

Conversation

thibaudcolas
Copy link
Owner

Inspired by facebookarchive/draft-js@d2a3ae8, and springload/draftail#202.

I didn’t update the documentation as none of the more advanced style generation options are documented currently.

The implementation follows the styles of Google Docs, and of Draft.js v0.11. It always overrides the styles for the first 4 heading levels, and afterwards generates them based on the depth.

@thibaudcolas thibaudcolas added the enhancement New feature or request label Apr 13, 2021
@thibaudcolas thibaudcolas added this to the Nice to have milestone Apr 13, 2021
@github-actions
Copy link

Warnings
⚠️ This pull request updates the library. Should the docs be updated?

Generated by 🚫 dangerJS against 13b1438

@thibaudcolas thibaudcolas merged commit 3bd4a0e into main Apr 13, 2021
@thibaudcolas thibaudcolas deleted the feature/counter-styles branch April 13, 2021 23:12
@github-actions
Copy link

🎉 This pull request is included in v2.1.0, available on npm: [email protected].

Generated by 📦🚀 semantic-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant