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.
11 lines (9 loc) • 319 B
text/typescript
const initialBlockStyles: { [key: string]: string } = {
'text-align-left': 'text-align-left',
'text-align-center': 'text-align-center',
'text-align-right': 'text-align-right',
'text-align-justify': 'text-align-justify',
blockquote: 'blockquote',
unstyled: 'unstyled',
};
export default initialBlockStyles;