UNPKG

@progress/kendo-react-editor

Version:

React Editor enables users to create rich text content through a WYSIWYG interface. KendoReact Editor package

32 lines (31 loc) 1.22 kB
/** * @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, EditorView } from '@progress/kendo-editor-common'; import { EditorToolsSettings } from './toolsSettings.js'; declare const bold: EditorToolsSettings.InlineFormatSettings, underline: EditorToolsSettings.InlineFormatSettings, italic: EditorToolsSettings.InlineFormatSettings; /** * @hidden */ export interface Shortcuts { [key: string]: (state: EditorState, dispatch: (tr: Transaction) => void, view?: EditorView) => boolean; } /** * @hidden */ export declare const getShortcuts: (settings?: { types?: { listItem: string; hardBreak: string; }; toolsSettings?: { bold?: EditorToolsSettings.InlineFormatOptions; italic?: EditorToolsSettings.InlineFormatOptions; underline?: EditorToolsSettings.InlineFormatOptions; }; }) => Shortcuts; export {};