Action

Open Last Draft

Posted by agiletortoise, Last update over 4 years ago

Open the previously open draft in the editor. Useful for navigating back one draft.

Steps

  • script

    let recent = editor.recentDrafts;
    if (recent.length > 0) {
    	editor.load(recent[0]);
    }
    else {
    	app.displayInfoMessage("No recent drafts found");
    }

Options

  • After Success Nothing
    Notification None
    Log Level None
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.