UNPKG

react-quill-editors

Version:

A fully customizable React rich text editor with no external dependencies. Features a comprehensive toolbar similar to popular Markdown editors with file operations, media insertion, and advanced formatting capabilities.

27 lines 1.83 kB
export declare const formatHandlers: { bold: (document: Document, selection: Selection) => void; italic: (document: Document, selection: Selection) => void; underline: (document: Document, selection: Selection) => void; strikethrough: (document: Document, selection: Selection) => void; heading: (document: Document, selection: Selection, level: string) => void; fontSize: (document: Document, selection: Selection, size: string) => void; fontFamily: (document: Document, selection: Selection, family: string) => void; color: (document: Document, selection: Selection, color: string) => void; bgColor: (document: Document, selection: Selection, color: string) => void; alignLeft: (document: Document, selection: Selection) => void; alignCenter: (document: Document, selection: Selection) => void; alignRight: (document: Document, selection: Selection) => void; alignJustify: (document: Document, selection: Selection) => void; insertUnorderedList: (document: Document, selection: Selection) => void; insertOrderedList: (document: Document, selection: Selection) => void; createLink: (document: Document, selection: Selection, url: string) => void; insertImage: (document: Document, selection: Selection, src: string) => void; insertHorizontalRule: (document: Document, selection: Selection) => void; insertParagraph: (document: Document, selection: Selection) => void; formatBlock: (document: Document, selection: Selection, tag: string) => void; }; export declare const getSelection: () => Selection | null; export declare const getDocument: () => Document | null; export declare const isFormatActive: (command: string) => boolean; export declare const getFormatValue: (command: string) => string; //# sourceMappingURL=formattingHandlers.d.ts.map