mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	put back the removed widgets, the BC break is not worth it
This commit is contained in:
		| @@ -41,6 +41,24 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain | |||||||
|     /** @property {NoteContextAwareWidget} */ |     /** @property {NoteContextAwareWidget} */ | ||||||
|     this.NoteContextAwareWidget = NoteContextAwareWidget; |     this.NoteContextAwareWidget = NoteContextAwareWidget; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * @property {NoteContextAwareWidget} | ||||||
|  |      * @deprecated use NoteContextAwareWidget instead | ||||||
|  |      */ | ||||||
|  |     this.TabAwareWidget = NoteContextAwareWidget; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * @property {NoteContextAwareWidget} | ||||||
|  |      * @deprecated use NoteContextAwareWidget instead | ||||||
|  |      */ | ||||||
|  |     this.TabCachingWidget = NoteContextAwareWidget; | ||||||
|  |  | ||||||
|  |     /** | ||||||
|  |      * @property {NoteContextAwareWidget} | ||||||
|  |      * @deprecated use NoteContextAwareWidget instead | ||||||
|  |      */ | ||||||
|  |     this.NoteContextCachingWidget = NoteContextAwareWidget; | ||||||
|  |  | ||||||
|     /** @property {BasicWidget} */ |     /** @property {BasicWidget} */ | ||||||
|     this.BasicWidget = BasicWidget; |     this.BasicWidget = BasicWidget; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -308,7 +308,7 @@ function checkHiddenSubtreeRecursively(parentNoteId, item) { | |||||||
|     for (const attr of attrs) { |     for (const attr of attrs) { | ||||||
|         const attrId = note.noteId + "_" + attr.type.charAt(0) + attr.name; |         const attrId = note.noteId + "_" + attr.type.charAt(0) + attr.name; | ||||||
|  |  | ||||||
|         if (!note.getAttributes().find(attr => attr.attributeId === attrId)) {console.log("EEEEE"); |         if (!note.getAttributes().find(attr => attr.attributeId === attrId)) { | ||||||
|             new Attribute({ |             new Attribute({ | ||||||
|                 attributeId: attrId, |                 attributeId: attrId, | ||||||
|                 noteId: note.noteId, |                 noteId: note.noteId, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user