chhoumann / quickadd Public
generated from obsidianmd/obsidian-sample-pluginNew issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Move tagged notes macro doesn't display folder picker #53
Comments
|
Hey @jacklaing, thanks for your report! I'm having a hard time reproducing this. |
|
Hi! Looks like I have similar issue. I can send you errors from my console log C:\Users\user\knowledgebase\Scripts\move.js:23 Uncaught (in promise) TypeError: fileCache.frontmatter?.tags?.split is not a function
at VM551 C:\Users\user\knowledgebase\Scripts\move.js:23
at Array.forEach (<anonymous>)
at moveFilesWithTag (VM551 C:\Users\user\knowledgebase\Scripts\move.js:11)
at async MacroChoiceEngine.onExportIsFunction (eval at <anonymous> (app.js:1), <anonymous>:9669:23)
at async MacroChoiceEngine.userScriptDelegator (eval at <anonymous> (app.js:1), <anonymous>:9653:17)
at async MacroChoiceEngine.executeUserScript (eval at <anonymous> (app.js:1), <anonymous>:9648:9)
at async MacroChoiceEngine.executeCommands (eval at <anonymous> (app.js:1), <anonymous>:9622:17)
at async MacroChoiceEngine.run (eval at <anonymous> (app.js:1), <anonymous>:9615:9)
at async ChoiceExecutor.onChooseMacroType (eval at <anonymous> (app.js:1), <anonymous>:12585:9)
at async ChoiceExecutor.execute (eval at <anonymous> (app.js:1), <anonymous>:12561:17)
(anonymous) @ C:\Users\user\knowledgebase\Scripts\move.js:23
moveFilesWithTag @ C:\Users\user\knowledgebase\Scripts\move.js:11
async function (async)
callback @ VM545:12737
yS @ app.js:1
t.onChooseItem @ app.js:1
t.onChooseSuggestion @ app.js:1
t.selectSuggestion @ app.js:1
e.useSelectedItem @ app.js:1
(anonymous) @ app.js:1
e.handleKey @ app.js:1
e.onKeyEvent @ app.js:1 |
|
I tried to run this macro inside default Obsidian Help vault and it worked out properly. So, I decided to switch off all community plugins on my vault and tried again, but problem is the same, doesn't work. |
|
In my case, tag descriptions in YAML frontmatter like: or caused the same problem. |
|
I can confirm all of the above:
|
|
I was trying the plugin just now, initially the picker didn't work, but after a reload, it did. So everything works for me now. Copy the code using the button only :D Else it adds some spaces here and there. Messes up the code and adds additional spaces to the new file path. |
Hi, I am having the same issue. How did you manage to transform your frontmatter tags to inline tags in you whole vault ? I've tried to find a way with Regex and VSC but without sucess... I was also wondering if it would be possible to modify the js script to make it work with frontmatter tags ? |
|
Update on this? still the same for me |
|
I also have hit the same issue myself. Developer console has the following: |

The macro for moving tagged notes to a folder is broken because once you've selected Yes/No on nested tags, the folder chooser just doesn't appear.
Additional context
I thought it might be because I had turned off the File Explorer core plugin, which has the Move Note hotkey bundled, but I tried turning it back on and it didn't fix it.
The text was updated successfully, but these errors were encountered: