25 lines
727 B
TypeScript
25 lines
727 B
TypeScript
/*!
|
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
*/
|
|
/**
|
|
* [[include:plugins/hotkeys/README.md]]
|
|
* @packageDocumentation
|
|
* @module plugins/hotkeys
|
|
*/
|
|
import type { IJodit } from "../../types/index";
|
|
import { Plugin } from "../../core/plugin/index";
|
|
import "./config";
|
|
/**
|
|
* Allow set hotkey for command or button
|
|
*/
|
|
export declare class hotkeys extends Plugin {
|
|
private onKeyPress;
|
|
private specialKeys;
|
|
/** @override */
|
|
protected afterInit(editor: IJodit): void;
|
|
/** @override */
|
|
protected beforeDestruct(jodit: IJodit): void;
|
|
}
|