chore(ckeditor5/plugins): integrate cuttonote

This commit is contained in:
Elian Doran
2025-05-03 15:05:00 +03:00
parent f664efacbf
commit ae85ec6ca6
5 changed files with 35 additions and 7 deletions

View 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>;
}
}