@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.
29 lines (28 loc) • 911 B
TypeScript
declare const Embed: unknown;
declare const Inline: unknown;
declare class CustomImage extends Embed {
static ID_SEED: number;
static blotName: string;
static tagName: string;
domNode: any;
parent: any;
scroll: any;
next: any;
static create(value: any): any;
static formats(domNode: any): {};
static match(url: any): boolean;
static register(): void;
static sanitize(url: any): any;
static value(domNode: any): any;
format(name: any, value: any): void;
unWrap(): void;
wrap(name: any, value: any): any;
}
declare class CustomImageContainer extends Inline {
static tagName: string;
static className: string;
static blotName: string;
static allowedChildren: typeof CustomImage[];
constructor(scroll: any, domNode: any);
}
export { CustomImage as default, CustomImageContainer as ImageContainerBlot };