mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
17 lines
303 B
TypeScript
17 lines
303 B
TypeScript
|
|
import "ckeditor5";
|
||
|
|
|
||
|
|
declare global {
|
||
|
|
var glob: {
|
||
|
|
getComponentByEl(el: unknown): {
|
||
|
|
triggerCommand(command: string): void;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
declare module "ckeditor5" {
|
||
|
|
interface Editor {
|
||
|
|
getSelectedHtml(): string;
|
||
|
|
removeSelection(): Promise<void>;
|
||
|
|
}
|
||
|
|
}
|