Action

Remove blank lines

Last update about 4 years ago - Unlisted

Strip all blank lines from the draft.

Steps

  • script

    // remove blank lines from draft.
    
    draft.content = draft.content.replace(/\n+/g, "\n");
    draft.update();
    

Options

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