generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When adding a User Script step to a Macro, QuickAdd does not allow selecting or attaching a script.
The input field accepts text.
The Add button, which becomes visible once data in input field, is not greyed out but unresponsive.
The Browse button is permanently disabled (greyed out).
Entering a script path manually (e.g. _scripts/my_script.js) and pressing enter does not register, and the script never runs.
Steps to reproduce:
Create a script file in the vault:
_scripts/my_script.js
Contents:
module.exports = async (params) => {
return "test";
};
Restart Obsidian.
Create a new QuickAdd Macro.
In Macro editor, try to Add Step → User Script.
Observe:
Input box accepts text.
Add/Browse are greyed out.
Path entry doesn’t work.
Macro won’t run script.
Expected behavior:
QuickAdd should allow attaching a .js script via the Browse button or by typing the relative path, and run the exported function when the Macro executes.
Actual behavior:
UI is disabled, path entry ignored, script never runs.
Environment:
Obsidian v1.9.10>
QuickAdd v2.1.0
OS: ubuntu 24.04
Kernel: 6.14.0-28-generic
Additional notes:
Tried both _scripts/ in vault root and .obsidian/plugins/quickadd/scripts/.
Tried minimal module.exports script.
Tried multiple restarts of Obsidian.
Same result: User Script step non-functional.
ady1981
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working