mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	tabs wip
This commit is contained in:
		| @@ -8,6 +8,7 @@ class NoteDetailText { | ||||
|      * @param {NoteContext} ctx | ||||
|      */ | ||||
|     constructor(ctx) { | ||||
|         this.ctx = ctx; | ||||
|         this.$component = ctx.$noteTab.find('.note-detail-text'); | ||||
|         this.textEditor = null; | ||||
|  | ||||
| @@ -48,11 +49,11 @@ class NoteDetailText { | ||||
|             } | ||||
|         } | ||||
|  | ||||
|         this.textEditor.isReadOnly = await isReadOnly(); | ||||
|         this.textEditor.isReadOnly = await this.isReadOnly(); | ||||
|  | ||||
|         this.$component.show(); | ||||
|  | ||||
|         this.textEditor.setData(noteDetailService.getActiveNote().content); | ||||
|         this.textEditor.setData(this.ctx.note.content); | ||||
|     } | ||||
|  | ||||
|     getContent() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user