mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	don't show tooltip over ckeditor link editing dialog
This commit is contained in:
		@@ -13,7 +13,12 @@ function setupTooltip() {
 | 
				
			|||||||
                return;
 | 
					                return;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            let notePath = linkService.getNotePathFromLink($link.attr("href"));
 | 
					            // this is to avoid showing tooltip from inside CKEditor link editor dialog
 | 
				
			||||||
 | 
					            if ($link.closest(".ck-link-actions").length) {
 | 
				
			||||||
 | 
					                return;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            let notePath = linkService.getNotePathFromUrl($link.attr("href"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (!notePath) {
 | 
					            if (!notePath) {
 | 
				
			||||||
                notePath = $link.attr("data-note-path");
 | 
					                notePath = $link.attr("data-note-path");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user