@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.
16 lines (14 loc) • 423 B
TypeScript
import { default as Quill } from 'quill';
export default class ImageBar {
quill: Quill;
image: HTMLImageElement;
domNode: HTMLElement;
imageRange: any;
template: string;
constructor(quill: any, target: any);
createImageBar(): void;
destroy(): void;
operateImage(event: any, operate: any): Promise<void>;
setPosition(): void;
css(domNode: any, rules: any): void;
}