Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
refactor(editor): correct type for keystroke
Elian Doran4ab297d00fb5
diff --git a/packages/ckeditor5/src/augmentation.ts b/packages/ckeditor5/src/augmentation.tsindex c34f07e66f..da5e1c9155 100644--- a/packages/ckeditor5/src/augmentation.ts+++ b/packages/ckeditor5/src/augmentation.ts@@ -23,8 +23,6 @@ declare global {}}-type Keystroke = string | string[];-declare module "ckeditor5" {interface Editor {getSelectedHtml(): string;@@ -39,10 +37,10 @@ declare module "ckeditor5" {enabled: boolean;},moveBlockUp?: {- keystroke: Keystroke;+ keystroke: string[];},moveBlockDown?: {- keystroke: Keystroke;+ keystroke: string[];},clipboard?: {copy(text: string): void;