mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 11:44:21 +08:00 
			
		
		
		
	fix internal link creation, closes #3376
This commit is contained in:
		
							parent
							
								
									46fdd15857
								
							
						
					
					
						commit
						518a413de7
					
				| @ -238,7 +238,11 @@ function focusSavedElement() { | ||||
|             .closest('.ck-editor__editable') | ||||
|             .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 { | ||||
|         $lastFocusedElement.focus(); | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam