mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
chore(ckeditor5/plugins): integrate cuttonote
This commit is contained in:
16
packages/ckeditor5/src/augmentation.ts
Normal file
16
packages/ckeditor5/src/augmentation.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import "ckeditor5";
|
||||
|
||||
declare global {
|
||||
var glob: {
|
||||
getComponentByEl(el: unknown): {
|
||||
triggerCommand(command: string): void;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
declare module "ckeditor5" {
|
||||
interface Editor {
|
||||
getSelectedHtml(): string;
|
||||
removeSelection(): Promise<void>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user