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.
16 lines (13 loc) • 403 B
text/typescript
// Custom Types
import { AudioAttributes } from './audio';
import { FileAttributes } from './file';
import { ImageAttributes } from './image';
import { LinkAttributes } from './link';
import { VideoAttributes } from './video';
export type Attributes =
| AudioAttributes
| FileAttributes
| ImageAttributes
| VideoAttributes
| LinkAttributes;
export type DecoratorAttributes = LinkAttributes;