jodit-pro
Version:
PRO Version of Jodit Editor
20 lines (19 loc) • 758 B
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import type { Nullable } from "jodit/esm/types/index";
import type { IJElement } from "../interface";
export declare function calcMarginParts(margin: string): number[] | string[];
/**
* Convert css units to pixels, excluding percentages
* @example
* ```js
* convertUnitToPx('55pt')
* convertUnitToPx('55cm')
* ```
*/
export declare function convertUnitToPx(unit: string | number): number;
export declare function realPixelIndent(element: IJElement): number;
export declare function calcStartBySymbol(symbol: string): Nullable<string>;