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