mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
widgets can have a help link with title
This commit is contained in:
@@ -11,6 +11,13 @@ const TPL = `
|
||||
class LinkMapWidget extends StandardWidget {
|
||||
getWidgetTitle() { return "Link map"; }
|
||||
|
||||
getHelp() {
|
||||
return {
|
||||
title: "Link map shows incoming and outgoing links from/to the current note.",
|
||||
url: "https://github.com/zadam/trilium/wiki/Link-map"
|
||||
};
|
||||
}
|
||||
|
||||
getHeaderActions() {
|
||||
const $showFullButton = $("<a>").append("show full").addClass('widget-header-action');
|
||||
$showFullButton.click(async () => {
|
||||
|
||||
Reference in New Issue
Block a user