mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
feat(editor): allow moving blocks up/down
This commit is contained in:
@@ -30,13 +30,18 @@ declare module "ckeditor5" {
|
||||
}
|
||||
|
||||
interface EditorConfig {
|
||||
syntaxHighlighting: {
|
||||
syntaxHighlighting?: {
|
||||
loadHighlightJs: () => Promise<any>;
|
||||
mapLanguageName(mimeType: string): string;
|
||||
defaultMimeType: string;
|
||||
enabled: boolean;
|
||||
},
|
||||
|
||||
moveBlockUp?: {
|
||||
keystroke: string;
|
||||
},
|
||||
moveBlockDown?: {
|
||||
keystroke: string;
|
||||
},
|
||||
clipboard?: {
|
||||
copy(text: string): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user