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.
5 lines (4 loc) • 323 B
TypeScript
import type { DraftEntityMutability } from '../../core';
import type { Attributes, State, StateHandler } from '../../types';
declare const addAtomicBlock: (state: State, stateHandler: StateHandler, fileType: string, attributes?: Attributes, mutibility?: DraftEntityMutability) => string;
export default addAtomicBlock;