mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	Merge branch 'master' into next58
This commit is contained in:
		@@ -209,7 +209,11 @@ function focusSavedElement() {
 | 
				
			|||||||
            .closest('.ck-editor__editable')
 | 
					            .closest('.ck-editor__editable')
 | 
				
			||||||
            .prop('ckeditorInstance');
 | 
					            .prop('ckeditorInstance');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        editor.editing.view.focus();
 | 
					        if (editor) {
 | 
				
			||||||
 | 
					            editor.editing.view.focus();
 | 
				
			||||||
 | 
					        } else {
 | 
				
			||||||
 | 
					            console.log("Could not find CKEditor instance to focus last element");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        $lastFocusedElement.focus();
 | 
					        $lastFocusedElement.focus();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user