contenido
Version:
Contenido is a library with a set of tools to help you create your own rich text editor on top of draft-js without thinking about how to handle things.
13 lines (10 loc) • 326 B
text/typescript
// Custom Utilities
import initialBlockTypes from '../../utilities/block/initialBlockTypes';
export type BlockStyleType =
| 'text-align-left'
| 'text-align-center'
| 'text-align-right'
| 'text-align-justify'
| 'blockquote'
| 'unstyled';
export type InitialBlockType = keyof typeof initialBlockTypes;