Added history page
This commit is contained in:
parent
3c6648f227
commit
1d75aa8c3e
3 changed files with 16 additions and 0 deletions
|
|
@ -176,6 +176,15 @@ html {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.history {
|
||||
#page-history {
|
||||
display: contents;
|
||||
n2-pagehistory {
|
||||
grid-area: content;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#crumbs {
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ export class N2PageNodeUI extends CustomHTMLElement {
|
|||
|
||||
this.node.setContent(this.elNodeContent.value)
|
||||
})
|
||||
this.elIconHistory.addEventListener('click', ()=>_mbus.dispatch('SHOW_PAGE', { page: 'history' }))
|
||||
|
||||
this.showMarkdown(true)
|
||||
}// }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue