mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	feat(help): display contextual button text snippets
This commit is contained in:
		
							parent
							
								
									578310a1c0
								
							
						
					
					
						commit
						7faaefee20
					
				| @ -56,6 +56,8 @@ export default class ContextualHelpButton extends NoteContextAwareWidget { | |||||||
|             return byNoteType[note.type]; |             return byNoteType[note.type]; | ||||||
|         } else if (note?.hasLabel("calendarRoot")) { |         } else if (note?.hasLabel("calendarRoot")) { | ||||||
|             return "l0tKav7yLHGF"; |             return "l0tKav7yLHGF"; | ||||||
|  |         } else if (note?.hasLabel("textSnippet")) { | ||||||
|  |             return "pwc194wlRzcH"; | ||||||
|         } else if (note && note.type === "book") { |         } else if (note && note.type === "book") { | ||||||
|             return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""] |             return byBookType[note.getAttributeValue("label", "viewType") as ViewTypeOptions ?? ""] | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran