| Server IP : 74.208.250.37 / Your IP : 216.73.217.68 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : miferval ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/brainwavemx/public/node_modules/quill/modules/ |
Upload File : |
import Quill from '../core/quill.js';
import Module from '../core/module.js';
import type { Range } from '../core/selection.js';
type Handler = (this: Toolbar, value: any) => void;
export type ToolbarConfig = Array<string[] | Array<string | Record<string, unknown>>>;
export interface ToolbarProps {
container?: HTMLElement | ToolbarConfig | null;
handlers?: Record<string, Handler>;
option?: number;
module?: boolean;
theme?: boolean;
}
declare class Toolbar extends Module<ToolbarProps> {
static DEFAULTS: ToolbarProps;
container?: HTMLElement | null;
controls: [string, HTMLElement][];
handlers: Record<string, Handler>;
constructor(quill: Quill, options: Partial<ToolbarProps>);
addHandler(format: string, handler: Handler): void;
attach(input: HTMLElement): void;
update(range: Range | null): void;
}
declare function addControls(container: HTMLElement, groups: (string | Record<string, unknown>)[][] | (string | Record<string, unknown>)[]): void;
export { Toolbar as default, addControls };