UNPKG

@opentiny/fluent-editor

Version:

A rich text editor based on Quill 2.0, which extends rich modules and formats on the basis of Quill. It's powerful and out-of-the-box.

23 lines (21 loc) 704 B
import { default as Quill } from 'quill'; interface QuickMenuOptions { container: string; component: any; } declare class QuickMenu { private quill; private options; private container; private hostElement; private quickMenu; private quickMenuContainer; constructor(quill: Quill, options: QuickMenuOptions); handleSlashKeyDown: (_range: any, context: any) => void; private isOpen; hideQuickMenu: (event: any) => void; handleArrowUpKey: (_range: any, _context: any) => boolean; handleArrowDownKey: (_range: any, _context: any) => boolean; handleEnterKey: (_range: any, _context: any) => boolean; } export default QuickMenu;