mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	Show highlighted text in right panel
This commit is contained in:
		
							parent
							
								
									446c41d020
								
							
						
					
					
						commit
						3e3d7aa4d7
					
				@ -95,7 +95,6 @@ export default class HighlightedTextWidget extends RightPanelWidget {
 | 
			
		||||
        // Check for type text unconditionally in case alwaysShowWidget is set
 | 
			
		||||
        if (this.note.type === 'text') {
 | 
			
		||||
            const { content } = await note.getNoteComplement();
 | 
			
		||||
            //hltColors/hltBgColors are the colors/background-color that appear in notes and in options 
 | 
			
		||||
            ({ $hlt, hltLiCount } = await this.getHlt(content, optionsHlt));
 | 
			
		||||
        }
 | 
			
		||||
        this.$hlt.html($hlt);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user