Action

Complete Tasks

Posted by agiletortoise, Last update about 1 year ago - Unlisted

Loop over tasks found in the editor, and mark them completed tasks.

Steps

  • script

    // loop over tasks in the editor
    // resetting each to its initial state
    // note the loop runs from last to first
    // to avoid issues with tasks that change
    // the length of the content
    
    for (const task of editor.tasks.reverse()) {
    	editor.completeTask(task)
    }
    

Options

  • 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.