@progress/kendo-vue-editor
Version:
43 lines (42 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 { EditorView } from '@progress/kendo-editor-common';
import { ButtonProps } from '@progress/kendo-vue-buttons';
/**
* @hidden
*/
export interface BasicToolProps {
/**
* The `EditorView` object of the Editor component.
*/
view?: EditorView;
}
/**
* @hidden
*/
export interface ToolProps extends BasicToolProps, ToolRenderProp, ButtonProps {
}
/**
* @hidden
*/
export interface ToolRenderProp {
/**
* Fires when a tool is about to be rendered. Used to override the default appearance of the tool.
*/
settings?: any;
}
/**
* @hidden
*/
export interface ToolWithDialogRenderProp {
/**
* Fires when a tool is about to be rendered. Used to override the default appearance of the tool.
*/
render?: (tool: [
], args?: any) => any;
}