mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix(code): unable to search in read-only code notes
This commit is contained in:
		| @@ -45,14 +45,4 @@ export default class ReadOnlyCodeTypeWidget extends AbstractCodeTypeWidget { | |||||||
|             readOnly: true |             readOnly: true | ||||||
|         }; |         }; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     async executeWithContentElementEvent({ resolve, ntxId }: EventData<"executeWithContentElement">) { |  | ||||||
|         if (!this.isNoteContext(ntxId)) { |  | ||||||
|             return; |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         await this.initialized; |  | ||||||
|  |  | ||||||
|         resolve(this.$editor); |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user