Drafts Action Directory

Navigate to Bottom

Posted by Kaustubh Thirumalai, Last update 3 months ago

Navigate to the bottom/end of your draft.

Install

Steps

  • script

    // Navigate to Bottom
    // Kaustubh Thirumalai (@holy_kau)
    
    // Inspired by Tim Nahumck's Find and Navigate to Headers script
    
    // Get the draft content
    var d = draft.content;
    
    // Navigate to the bottom
    editor.setSelectedRange(d.length,0);

Options

  • After Success Default
    Notification Error
    Log Level Error

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.