quill-image-resizor
Version:
A module for Quill rich text editor to allow images to be resized.
19 lines (18 loc) • 592 B
TypeScript
import { BaseModule } from './BaseModule';
import { default as ImageResizor } from '../ImageResizor';
export declare class Toolbar extends BaseModule {
toolbar?: HTMLDivElement;
alignments: {
icon: string;
apply: () => void;
isApplied: () => boolean;
}[];
constructor(resizer: ImageResizor);
onCreate: () => void;
onDestroy: () => void;
onUpdate: () => void;
_stylesSet: () => import('parchment').StyleAttributor | null;
_defineAlignments: () => void;
_addToolbarButtons: () => void;
_selectButton: (button: any) => void;
}