mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 11:02:28 +08: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>;
|
|
}
|
|
}
|