Skip to content

Build your personal knowledge base with Trilium Notes

added hideHighlightWidget to built in attributes

zadamb0c589469135
diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.js
index 28cdb96f6d..e12d592fcb 100644
--- a/src/public/app/widgets/attribute_widgets/attribute_detail.js
+++ b/src/public/app/widgets/attribute_widgets/attribute_detail.js
@@ -253,7 +253,8 @@ const ATTR_HELP = {
"executeButton": "Title of the button which will execute the current code note",
"executeDescription": "Longer description of the current code note displayed together with the execute button",
"excludeFromNoteMap": "Notes with this label will be hidden from the Note Map",
- "newNotesOnTop": "New notes will be created at the top of the parent note, not on the bottom."
+ "newNotesOnTop": "New notes will be created at the top of the parent note, not on the bottom.",
+ "hideHighlightWidget": "Hide Hightlight List widget"
},
"relation": {
"runOnNoteCreation": "executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script.",
diff --git a/src/services/builtin_attributes.js b/src/services/builtin_attributes.js
index 4a8b410e9f..eb21f04f37 100644
--- a/src/services/builtin_attributes.js
+++ b/src/services/builtin_attributes.js
@@ -69,6 +69,7 @@ module.exports = [
{ type: 'label', name: 'newNotesOnTop'},
{ type: 'label', name: 'clipperInbox'},
{ type: 'label', name: 'webViewSrc', isDangerous: true },
+ { type: 'label', name: 'hideHighlightWidget' },
// relation names
{ type: 'relation', name: 'internalLink' },