jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
28 lines (27 loc) • 1.12 kB
TypeScript
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* @module modules/toolbar/button
*/
import type { IControlTypeContent, IToolbarButton, IViewBased, Nullable } from "../../../types/index";
import { UIButton } from "../../../core/ui/button/index";
export declare class ToolbarContent<T extends IViewBased = IViewBased> extends UIButton implements IToolbarButton {
readonly control: IControlTypeContent;
readonly target: Nullable<HTMLElement>;
/** @override */
className(): string;
/** @override */
update(): void;
/**
* The content is arbitrary HTML — propagate the disabled state to the
* nested form controls (e.g. the file input of the Upload button),
* otherwise they stay interactive.
*/
protected onChangeDisabled(): void;
/** @override */
protected createContainer(): HTMLElement;
constructor(jodit: T, control: IControlTypeContent, target?: Nullable<HTMLElement>);
}