@cairn214/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.
16 lines (15 loc) • 499 B
TypeScript
import { default as TypeEmbed } from 'quill/blots/embed';
declare const Embed: typeof TypeEmbed;
declare class MentionLink extends Embed {
static blotName: string;
static tagName: string;
static className: string;
scroll: any;
mentionData: any;
static create(data: any): HTMLElement;
static value(domNode: HTMLElement): Record<string, any>;
constructor(scroll: any, domNode: any, data: any);
value(): any;
remove(): void;
}
export { MentionLink as default };