Action

Navigate to Bottom

Posted by Kaustubh Thirumalai, Last update almost 5 years ago

Navigate to the bottom/end of your draft.

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
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.