New drafts user here so apologies if there is a really simple solution this. I want to create an action that tags my current draft with a set tag. Eg Work.
I assume that I’ll need to use something similar to this script but this is for a New document rather than the current one.
let d = Draft.create();
d.addTag(“home”);
d.update();
editor.load(d);