Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): provide workaround for bypassing widget-missing-parent

Elian Doran4a2ff2505255
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index e0c5a49b67..8f9bb7aeb4 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -29,7 +29,7 @@
"widget-render-error": {
"title": "Failed to render a custom React widget"
},
- "widget-missing-parent": "Custom widget does not have mandatory '{{property}}' property defined.",
+ "widget-missing-parent": "Custom widget does not have mandatory '{{property}}' property defined.\n\nIf this script is meant to be run without a UI element, use '#run=frontendStartup' instead.",
"open-script-note": "Open script note",
"scripting-error": "Custom script error: {{title}}"
},