From b0c58946913554bdba7e80497205533634894710 Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 13 Nov 2023 00:36:08 +0100 Subject: [PATCH] added hideHighlightWidget to built in attributes --- src/public/app/widgets/attribute_widgets/attribute_detail.js | 3 ++- src/services/builtin_attributes.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.js index 28cdb96f6..e12d592fc 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 4a8b410e9..eb21f04f3 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' },