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.
14 lines (11 loc) • 317 B
text/typescript
const initialInlineStyles = {
BOLD: 'BOLD',
ITALIC: 'ITALIC',
UNDERLINE: 'UNDERLINE',
LINE_THROUGH: 'LINE_THROUGH',
OVERLINE: 'OVERLINE',
SUPERSCRIPT: 'SUPERSCRIPT',
SUBSCRIPT: 'SUBSCRIPT',
};
export type InitialInlineStyleTypes = keyof typeof initialInlineStyles;
export default initialInlineStyles;