saml-dev/obsidian-custom-js

Basic Javascript Functions Not Defined

tbarlow12 opened this issue · 1 comments

Hello! Thanks for this plugin. Really excited to use it.

I'm running into this problem when trying to execute code in Templater. Basic functions like console.log or string .split() are trying to be executed and it says

console.log(...) is not a function

or

split is not defined

Am I missing something I'm supposed to be doing in the setup?

Thanks!

Please share your templater script and CustomJS script if you have any.