Added history page

This commit is contained in:
Magnus Åhall 2026-06-02 21:16:52 +02:00
parent 3c6648f227
commit 1d75aa8c3e
3 changed files with 16 additions and 0 deletions

View file

@ -176,6 +176,15 @@ html {
}
}
}
&.history {
#page-history {
display: contents;
n2-pagehistory {
grid-area: content;
}
}
}
}
#crumbs {

View file

@ -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)
}// }}}