@progress/kendo-react-editor
Version:
React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package
47 lines (46 loc) • 1.17 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { EditorState, Node } from '@progress/kendo-editor-common';
/**
* @hidden
*/
export declare const reUnit: RegExp;
/**
* @hidden
*/
export declare const getUnit: (value: string) => string;
/**
* @hidden
*/
export declare const nodeSize: (node: Node, style: string) => {
[x: string]: string | number | null;
};
/**
* @hidden
*/
export declare const parseStyle: (styleText: string | null) => {
[x: string]: string;
};
/**
* @hidden
*/
export declare function setNodeStyle(nodeAttrs: any, styleType: string, value: string): any;
/**
* @hidden
*/
export declare const selectedCells: (state: EditorState) => Array<{
node: Node;
pos: number;
}>;
/**
* @hidden
*/
export declare const tableCells: (state: EditorState) => Array<{
node: Node;
pos: number;
}>;