@progress/kendo-react-editor
Version:
React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package
44 lines (43 loc) • 1.22 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, Transaction } from '@progress/kendo-editor-common';
/**
* @hidden
*/
interface CellData {
applyToAll: boolean;
cellWidth: number | null;
widthUnit: string;
cellHeight: number | null;
heightUnit: string;
alignment: {
x: string;
y: string;
};
textControl: string;
backgroundColor?: string;
cellPadding: number | null;
borderWidth: number | null;
borderColor?: string;
borderStyle: string | null;
id: string;
className: string;
}
/**
* @hidden
*/
declare const initialCellData: CellData;
/**
* @hidden
*/
declare const cellsDefaultData: (state: EditorState) => CellData;
/**
* @hidden
*/
declare const applyCellsData: (state: EditorState, data: CellData) => Transaction;
export { CellData, initialCellData, cellsDefaultData, applyCellsData };