feat(client): display message when copying code block in text note

This commit is contained in:
Elian Doran
2025-05-26 20:02:32 +03:00
parent a20e171443
commit a666e26194
5 changed files with 52 additions and 17 deletions

View File

@@ -28,4 +28,17 @@ declare module "ckeditor5" {
getSelectedHtml(): string;
removeSelection(): Promise<void>;
}
interface EditorConfig {
syntaxHighlighting: {
loadHighlightJs: () => Promise<any>;
mapLanguageName(mimeType: string): string;
defaultMimeType: string;
enabled: boolean;
},
clipboard?: {
copy(text: string): void;
}
}
}