Archive and Make New Draft
Archive the current draft and set up a new blank one for your immediate use!
// See online documentation for examples // http://getdrafts.com/scripting draft.isArchived = true; draft.update(); editor.new(); editor.activate();
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.