Thanks to @shabegom (author) and my unusual use case, this dataview script was born.
As the title says, you need the 5 plugins installed and enabled for this to work.
What I mean is that I want to be able to edit a metadata field of the current note in preview mode. So basically, access the current note’s metadata field, click a button, have prompt, enter text, and update it.
I was able to access a text field using dv.current()[“name text field”] and display it, but then I got stuck adapting the “createbutton” and “defer” function so that it would update correctly
To be honest, I stopped using most of the plugins in this showcase :
dataviewjs because of the flickering, I’m waiting for datacore.
button because was always a bit buggy, metabind is more active and provide nearly the same features.
As for the metaedit, it was always creating weird errors in the console, so I switched to metadata menu, and it provides nice additions to the new properties feature
ahh. I’ve tried this script and just cannot work out how to get it to play game with me.
I can’t press the button. It’s as if the display in dataview is not recognising it. When i hover over it it does nothing. Any ideas how to solve this? I’m sure it’s totaly simple…