jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
19 lines (18 loc) • 1.02 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 helpers/utils
*/
import type { IStyle, StyleValue } from "../../../types/index";
export declare function css(element: HTMLElement, key: 'left' | 'top' | 'bottom' | 'right' | 'width' | 'min' | 'max' | 'height' | 'margin' | 'padding' | 'fontsize' | 'font-size'): number;
export declare function css(element: HTMLElement, key: keyof CSSStyleDeclaration): string | number;
export declare function css(element: HTMLElement, key: string | IStyle): string | number;
export declare function css(element: HTMLElement, key: string | IStyle, value: StyleValue): string | number;
export declare function css(element: HTMLElement, key: string | IStyle, onlyStyleMode: boolean): string | number;
/**
* Clear center align
*/
export declare const clearCenterAlign: (image: HTMLElement) => void;