Action

Delete Line in Draft

Posted by khags, Last update over 6 years ago

Deletes entire line of text that cursor sits in.

Steps

  • script

    let [st, len] = editor.getSelectedLineRange();
    editor.setTextInRange(st, len, "");

Options

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