mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
added more placement points for custom widgets
This commit is contained in:
@@ -124,6 +124,7 @@ export default class DesktopLayout {
|
||||
.child(new SearchBoxWidget())
|
||||
.child(new SearchResultsWidget())
|
||||
.child(appContext.mainTreeWidget)
|
||||
.child(...this.customWidgets.get('left-pane'))
|
||||
)
|
||||
.child(new FlexContainer('column').id('center-pane')
|
||||
.child(new FlexContainer('row').class('title-row')
|
||||
@@ -137,6 +138,7 @@ export default class DesktopLayout {
|
||||
)
|
||||
.child(new TabCachingWidget(() => new PromotedAttributesWidget()))
|
||||
.child(new TabCachingWidget(() => new NoteDetailWidget()))
|
||||
.child(...this.customWidgets.get('center-pane'))
|
||||
)
|
||||
.child(new SidePaneContainer('right')
|
||||
.cssBlock(RIGHT_PANE_CSS)
|
||||
|
||||
Reference in New Issue
Block a user