mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	fix focus issue from title to the text content with tab/enter
This commit is contained in:
		
							
								
								
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "trilium", |   "name": "trilium", | ||||||
|   "version": "0.33.4", |   "version": "0.33.5", | ||||||
|   "lockfileVersion": 1, |   "lockfileVersion": 1, | ||||||
|   "requires": true, |   "requires": true, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|   | |||||||
| @@ -74,7 +74,7 @@ class NoteDetailText { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     focus() { |     focus() { | ||||||
|         this.$component.focus(); |         this.$editorEl.focus(); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     getEditor() { |     getEditor() { | ||||||
|   | |||||||
| @@ -11,8 +11,8 @@ | |||||||
|         <table class="note-detail-promoted-attributes"></table> |         <table class="note-detail-promoted-attributes"></table> | ||||||
|  |  | ||||||
|         <div class="note-detail-component-wrapper"> |         <div class="note-detail-component-wrapper"> | ||||||
|             <div class="note-detail-text note-detail-component" tabindex="10000"> |             <div class="note-detail-text note-detail-component"> | ||||||
|                 <div class="note-detail-text-editor"></div> |                 <div class="note-detail-text-editor" tabindex="10000"></div> | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
|             <div class="note-detail-code note-detail-component"></div> |             <div class="note-detail-code note-detail-component"></div> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user