mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	Add attribute disableHighlightsList to disable Highlights List Widget
This commit is contained in:
		| @@ -66,6 +66,7 @@ export default class HighlightsListWidget extends RightPanelWidget { | ||||
|     isEnabled() { | ||||
|         return super.isEnabled() | ||||
|             && this.note.type === 'text' | ||||
| 	    && !this.note.hasLabel('disableHighlightsList') | ||||
|             && !this.noteContext.viewScope.highlightsListTemporarilyHidden | ||||
|             && this.noteContext.viewScope.viewMode === 'default'; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user