mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
widgets can have a help link with title
This commit is contained in:
@@ -6,6 +6,13 @@ import StandardWidget from "./standard_widget.js";
|
||||
class AttributesWidget extends StandardWidget {
|
||||
getWidgetTitle() { return "Attributes"; }
|
||||
|
||||
getHelp() {
|
||||
return {
|
||||
title: "Attributes are key-value records owned by assigned to this note.",
|
||||
url: "https://github.com/zadam/trilium/wiki/Attributes"
|
||||
};
|
||||
}
|
||||
|
||||
getHeaderActions() {
|
||||
const $showFullButton = $("<a>").append("show dialog").addClass('widget-header-action');
|
||||
$showFullButton.click(async () => {
|
||||
|
||||
Reference in New Issue
Block a user