mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	fix(text): auto-completion not working
This commit is contained in:
		
							parent
							
								
									826230311a
								
							
						
					
					
						commit
						ff89ab646c
					
				@ -301,8 +301,9 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
 | 
				
			|||||||
    async createEditor() {
 | 
					    async createEditor() {
 | 
				
			||||||
        await this.watchdog.create(this.$editor[0], {
 | 
					        await this.watchdog.create(this.$editor[0], {
 | 
				
			||||||
            placeholder: t("editable_text.placeholder"),
 | 
					            placeholder: t("editable_text.placeholder"),
 | 
				
			||||||
            //@ts-ignore TODO: FIX TYPES
 | 
					            mention: {
 | 
				
			||||||
            mention: mentionSetup,
 | 
					                feeds: mentionSetup,
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            codeBlock: {
 | 
					            codeBlock: {
 | 
				
			||||||
                languages: buildListOfLanguages()
 | 
					                languages: buildListOfLanguages()
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user