mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	fix click handler of links inside included note
This commit is contained in:
		
							parent
							
								
									da9b321aa0
								
							
						
					
					
						commit
						eabe4775bd
					
				
							
								
								
									
										2
									
								
								libraries/ckeditor/ckeditor.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								libraries/ckeditor/ckeditor.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -164,6 +164,7 @@ $(document).on('mousedown', '.note-detail-text a.reference-link', goToLink); | |||||||
| $(document).on('mousedown', '.note-detail-readonly-text a.reference-link', goToLink); | $(document).on('mousedown', '.note-detail-readonly-text a.reference-link', goToLink); | ||||||
| $(document).on('mousedown', '.note-detail-readonly-text a', goToLink); | $(document).on('mousedown', '.note-detail-readonly-text a', goToLink); | ||||||
| $(document).on('mousedown', 'a.ck-link-actions__preview', goToLink); | $(document).on('mousedown', 'a.ck-link-actions__preview', goToLink); | ||||||
|  | $(document).on('click', 'section.include-note a', goToLink); | ||||||
| $(document).on('click', 'a.ck-link-actions__preview', e => { | $(document).on('click', 'a.ck-link-actions__preview', e => { | ||||||
|     e.preventDefault(); |     e.preventDefault(); | ||||||
|     e.stopPropagation(); |     e.stopPropagation(); | ||||||
| @ -175,6 +176,7 @@ $(document).on('contextmenu', '.note-detail-readonly-text a', linkContextMenu); | |||||||
| $(document).on('contextmenu', "a[data-action='note']", linkContextMenu); | $(document).on('contextmenu', "a[data-action='note']", linkContextMenu); | ||||||
| $(document).on('contextmenu', ".note-detail-render a", linkContextMenu); | $(document).on('contextmenu', ".note-detail-render a", linkContextMenu); | ||||||
| $(document).on('contextmenu', ".note-paths-widget a", linkContextMenu); | $(document).on('contextmenu', ".note-paths-widget a", linkContextMenu); | ||||||
|  | $(document).on('contextmenu', "section.include-note a", linkContextMenu); | ||||||
| 
 | 
 | ||||||
| export default { | export default { | ||||||
|     getNotePathFromUrl, |     getNotePathFromUrl, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam